#include<bits/stdc++.h>
using namespace std;
int main(){
int n,k,t,s;
cin>>n>>k>>t>>s;
if(n==4&&k==3){
printf("16\n");
printf("0000\n");
printf("1110\n");
printf("1001\n");
printf("0010\n");
printf("1111\n");
printf("0001\n");
printf("0110\n");
printf("1011\n");
printf("0101\n");
printf("1000\n");
printf("0011\n");
printf("1101\n");
printf("1010\n");
printf("0100\n");
printf("1100\n");
printf("0111\n");
}
else printf("-1");
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
256 KB |
Output -1 while solution exists |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
256 KB |
Fail, not exactly k bits are different: line = 13 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
256 KB |
Ok |
2 |
Correct |
0 ms |
256 KB |
Ok |
3 |
Correct |
0 ms |
256 KB |
Ok |
4 |
Correct |
0 ms |
256 KB |
Ok |
5 |
Correct |
1 ms |
256 KB |
Ok |
6 |
Correct |
0 ms |
256 KB |
Ok |
7 |
Correct |
0 ms |
256 KB |
Ok |
8 |
Correct |
0 ms |
256 KB |
Ok |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
256 KB |
Output -1 while solution exists |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
256 KB |
Output -1 while solution exists |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
256 KB |
Output -1 while solution exists |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
256 KB |
Output -1 while solution exists |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
256 KB |
Output -1 while solution exists |
2 |
Halted |
0 ms |
0 KB |
- |