摘要:
#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... 阅读全文
摘要:
#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 = ... 阅读全文
摘要:
#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; ... 阅读全文