摘要:
// 首先创建一个结构体,再创建三个结构体变量,设定好边界,记录合格人数,进行比较,输出。#include #include using namespace std; struct s { string name, bir; } a, young, old; int main() { int n, cnt = 0; string down = "1814/09/06... 阅读全文
摘要:
#include #include #include using namespace std; int arr[1 > n; for (int i = 1; i > x; arr[x] = i; } cin >> m; while (m--) { cin >> y; if (arr[y] == -1) { //... 阅读全文
摘要:
#include #include using namespace std; int arr[1 > n; for (int i = 1; i > x; t = abs(x - i); arr[t]++; } for (int i = 10000; i >= 0; i--) { if (arr[i] > 1) {. //... 阅读全文
摘要:
#include #include using namespace std; int main() { int n, m; cin >> n >> m; for (int i = 0; i > g2; for (int j = 0; j > x; if (x >= 0 && x <= m) { s... 阅读全文