摘要:
简单题View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int f[6];int main(){ //freopen("D:\\t.txt", "r", stdin); int t; scanf("%d", &t); while (t--) { for (int i = 0; i < 4; i++) scanf(" 阅读全文
摘要:
简单题View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;#define maxn 105bool map[maxn][maxn];int test(int x, int y, int l){ int ans = 0; for (int i = x; i < x + l; i++) for (int j = y; j < y + l; j++) if (map[i][j]) ans++ 阅读全文