摘要:
/* 就是二维变成了三维,模版题。*/#include <iostream> #include <cstring> #include <string> #include <queue> using namespace std; int k,a,b,c,t; int mp[55][55][55]; b 阅读全文
摘要:
#include using namespace std; int main() { int a[100], tmp = 0; for (int i = 0; i > a[i]; for (int i = 0; i a[j + 1]) { tmp = a[j]; a[j] = a[j + 1]; ... 阅读全文
摘要:
// 不稳定排序#include using namespace std; int main() { int arr[100], tmp; for (int i = 0; i > arr[i]; for (int j = 0; j arr[k]) { tmp = arr[j]; arr[j] = arr[... 阅读全文
摘要:
#include #include #include using namespace std; setss; void tmp() { int n, m, t; cin >> t >> n >> m; for (int i = 1; i > s; if (i == m && ss.count(s) == 0) { // count() 用来查... 阅读全文