#include <bits/stdc++.h>
using namespace std;
int main() {
int t, n, k, k1;
cin >> t >> n >> k >> k1;
for(int i = 1; i <= n; i++) {
for(int j = 1; j <= n; j++) {
char z;
cin >> z;
}
}
for(int i = 1; i <= n / 2; i++) {
for(int j = 1; j <= n; j++) {
cout << "0 ";
}
cout << '\n';
}
for(int i = 1; i <= n / 2; i++) {
for(int j = 1; j <= n; j++) {
cout << "1 ";
}
cout << '\n';
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
K = 24 |
2 |
Incorrect |
1 ms |
304 KB |
K = 623 |
3 |
Partially correct |
11 ms |
592 KB |
K = 20313 |
4 |
Partially correct |
12 ms |
612 KB |
K = 23205 |
5 |
Incorrect |
10 ms |
596 KB |
K = 21462 |
6 |
Partially correct |
10 ms |
596 KB |
K = 22330 |
7 |
Partially correct |
12 ms |
572 KB |
K = 22537 |
8 |
Incorrect |
10 ms |
596 KB |
K = 25631 |
9 |
Incorrect |
10 ms |
600 KB |
K = 22541 |
10 |
Partially correct |
10 ms |
596 KB |
K = 22367 |