Coder

舒心、快乐,比什么都重要

摘要: #include using namespace std; int main(){ int n, A, a, cntA = 0, B, b, cntB = 0; cin >> n; while (n--){ cin >> A >> a >> B >> b; if ((a != A + B && b != A + B) || (a == A... 阅读全文
posted @ 2019-04-19 00:38 H123K 阅读(128) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int arr[100] = {0}; int main(){ int n, m, sum; cin >> n >> m; sum = n * m; if (sum == 0) cout << 0 << endl; else{ int i = 0, flag = ... 阅读全文
posted @ 2019-04-19 00:28 H123K 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; int main(){ int n; string str; cin >> n; getchar(); while (n--){ int str_num = 0, str_letter = 0, str_dot = 0, str_other = 0; ... 阅读全文
posted @ 2019-04-19 00:07 H123K 阅读(122) 评论(0) 推荐(0) 编辑