#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; i++) {
for(int j = 1; j <= n / 2; j++) {
cout << "0 ";
}
for(int j = 1; j <= n / 2; j++) {
cout << "1 ";
}
cout << '\n';
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
K = 25 |
2 |
Incorrect |
0 ms |
212 KB |
K = 648 |
3 |
Incorrect |
10 ms |
428 KB |
K = 21146 |
4 |
Partially correct |
10 ms |
468 KB |
K = 23239 |
5 |
Partially correct |
10 ms |
484 KB |
K = 18430 |
6 |
Partially correct |
9 ms |
428 KB |
K = 22273 |
7 |
Incorrect |
11 ms |
468 KB |
K = 22837 |
8 |
Partially correct |
10 ms |
468 KB |
K = 20045 |
9 |
Partially correct |
9 ms |
372 KB |
K = 21031 |
10 |
Incorrect |
10 ms |
424 KB |
K = 22645 |