QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#621492 | #8651. Table Tennis | hhoppitree | 4 | 287ms | 6948kb | C++17 | 1.7kb | 2024-10-08 14:55:45 | 2024-10-08 14:55:46 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
const int N = 5005;
int deg[N], o[N];
bitset<N> G[N];
int cmp(int x, int y) {
return (deg[x] > deg[y]);
}
void output(int n) {
puts("Yes");
for (int i = 1; i <= n; ++i) {
iota(o + i + 1, o + n + 1, i + 1);
sort(o + i + 1, o + n + 1, cmp);
for (int j = i + 1; j <= n; ++j) {
G[o[j]][i] = (j <= n - deg[i]);
deg[i] -= !G[o[j]][i];
deg[o[j]] -= G[o[j]][i];
}
assert(!deg[i]);
}
for (int i = 2; i <= n; ++i) {
for (int j = 1; j < i; ++j) putchar(G[i][j] + '0');
puts("");
}
}
signed main() {
int T; scanf("%d", &T);
while (T--) {
int n;
long long m;
scanf("%d%lld", &n, &m);
int fl = 0;
for (int tn = 1; tn <= n; ++tn) {
int S = 0;
for (int i = 1; i <= tn; ++i) {
deg[i] = (tn - 1) / 2 + ((tn & 1) ? 0 : (i > tn / 2));
S += 1ll * deg[i] * (deg[i] - 1) / 2;
}
if (S > tn * (tn - 1ll) * (tn - 2) / 6 - m) continue;
int ts = (tn * (tn - 1ll) * (tn - 2) / 6 - m) - S;
while (ts) {
for (int i = 1; i <= n; ++i) {
for (int j = i + 1; j <= n && ts; ++j) {
if (deg[i] == deg[j]) {
--deg[i], ++deg[j], --ts;
}
}
}
}
for (int i = tn + 1; i <= n; ++i) {
deg[i] = i - 1;
}
fl = 1;
output(n);
break;
}
if (!fl) puts("No");
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 5
Accepted
time: 3ms
memory: 3756kb
input:
97 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0 37 0 38 0 39 0 40 0 41 0 42 0 43 0 44 0 45 0 46 0 47 0 48 0 49 0 50 0 51 0 52 0 53 0 54 0 55 0 56 0 57 0 58 0 59 0 60 0 61 0 62 0 63 0...
output:
Yes 1 11 Yes 1 11 111 Yes 1 11 111 1111 Yes 1 11 111 1111 11111 Yes 1 11 111 1111 11111 111111 Yes 1 11 111 1111 11111 111111 1111111 Yes 1 11 111 1111 11111 111111 1111111 11111111 Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 11...
result:
ok good job! (97 test cases)
Test #2:
score: 5
Accepted
time: 261ms
memory: 6840kb
input:
5 4839 0 127 0 22 0 7 0 5 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (5 test cases)
Test #3:
score: 5
Accepted
time: 55ms
memory: 4696kb
input:
11 1191 0 1580 0 199 0 484 0 209 0 1226 0 92 0 5 0 4 0 4 0 6 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (11 test cases)
Test #4:
score: 5
Accepted
time: 76ms
memory: 4788kb
input:
8 953 0 1747 0 1782 0 213 0 210 0 82 0 10 0 3 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (8 test cases)
Test #5:
score: 5
Accepted
time: 0ms
memory: 3840kb
input:
1 6 0
output:
Yes 1 11 111 1111 11111
result:
ok good job! (1 test case)
Test #6:
score: 5
Accepted
time: 0ms
memory: 3840kb
input:
1 7 0
output:
Yes 1 11 111 1111 11111 111111
result:
ok good job! (1 test case)
Test #7:
score: 5
Accepted
time: 0ms
memory: 3728kb
input:
1 19 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111
result:
ok good job! (1 test case)
Test #8:
score: 5
Accepted
time: 0ms
memory: 3832kb
input:
1 20 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111
result:
ok good job! (1 test case)
Test #9:
score: 5
Accepted
time: 1ms
memory: 3856kb
input:
1 149 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (1 test case)
Test #10:
score: 5
Accepted
time: 1ms
memory: 3852kb
input:
1 150 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (1 test case)
Test #11:
score: 5
Accepted
time: 0ms
memory: 4084kb
input:
1 599 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (1 test case)
Test #12:
score: 5
Accepted
time: 4ms
memory: 4064kb
input:
1 600 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (1 test case)
Test #13:
score: 5
Accepted
time: 281ms
memory: 6948kb
input:
1 4999 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (1 test case)
Test #14:
score: 5
Accepted
time: 287ms
memory: 6948kb
input:
1 5000 0
output:
Yes 1 11 111 1111 11111 111111 1111111 11111111 111111111 1111111111 11111111111 111111111111 1111111111111 11111111111111 111111111111111 1111111111111111 11111111111111111 111111111111111111 1111111111111111111 11111111111111111111 111111111111111111111 1111111111111111111111 111111111111111111111...
result:
ok good job! (1 test case)
Test #15:
score: 0
Wrong Answer
time: 1ms
memory: 3780kb
input:
291 3 0 3 1 4 0 4 1 4 2 5 0 5 1 5 2 5 3 6 0 6 1 6 2 6 3 6 4 7 0 7 1 7 2 7 3 7 4 7 5 8 0 8 1 8 2 8 3 8 4 8 5 8 6 9 0 9 1 9 2 9 3 9 4 9 5 9 6 9 7 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 7 10 8 11 0 11 1 11 2 11 3 11 4 11 5 11 6 11 7 11 8 11 9 12 0 12 1 12 2 12 3 12 4 12 5 12 6 12 7 12 8 12 9 12 10 13 0 ...
output:
Yes 1 11 Yes 1 01 Yes 1 11 111 Yes 1 01 111 Yes 0 11 101 Yes 1 11 111 1111 Yes 1 01 111 1111 Yes 0 11 101 1111 Yes 1 00 111 1001 Yes 1 11 111 1111 11111 Yes 1 01 111 1111 11111 Yes 0 11 101 1111 11111 Yes 1 00 111 1001 11111 Yes 1 10 101 0101 11111 Yes 1 11 111 1111 11111 111111 Yes 1 01 111 1111 11...
result:
wrong answer expected 9 ways, but found 11 ways (test case 54)
Subtask #2:
score: 4
Accepted
Test #58:
score: 4
Accepted
time: 0ms
memory: 3620kb
input:
1 4 4
output:
No
result:
ok good job! (1 test case)
Test #59:
score: 4
Accepted
time: 0ms
memory: 3624kb
input:
1 5 10
output:
No
result:
ok good job! (1 test case)
Test #60:
score: 4
Accepted
time: 0ms
memory: 3564kb
input:
1 6 20
output:
No
result:
ok good job! (1 test case)
Test #61:
score: 4
Accepted
time: 0ms
memory: 3712kb
input:
1 7 35
output:
No
result:
ok good job! (1 test case)
Test #62:
score: 4
Accepted
time: 0ms
memory: 3696kb
input:
1 5 10
output:
No
result:
ok good job! (1 test case)
Test #63:
score: 4
Accepted
time: 0ms
memory: 3760kb
input:
1 6 19
output:
No
result:
ok good job! (1 test case)
Test #64:
score: 4
Accepted
time: 0ms
memory: 3692kb
input:
1 6 20
output:
No
result:
ok good job! (1 test case)
Test #65:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 7 33
output:
No
result:
ok good job! (1 test case)
Test #66:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 7 33
output:
No
result:
ok good job! (1 test case)
Test #67:
score: 4
Accepted
time: 0ms
memory: 3764kb
input:
1 4 3
output:
No
result:
ok good job! (1 test case)
Test #68:
score: 4
Accepted
time: 0ms
memory: 3760kb
input:
1 5 8
output:
No
result:
ok good job! (1 test case)
Test #69:
score: 4
Accepted
time: 0ms
memory: 3756kb
input:
1 6 17
output:
No
result:
ok good job! (1 test case)
Test #70:
score: 4
Accepted
time: 0ms
memory: 3692kb
input:
1 7 30
output:
No
result:
ok good job! (1 test case)
Test #71:
score: 4
Accepted
time: 0ms
memory: 3832kb
input:
2 3 0 3 1
output:
Yes 1 11 Yes 1 01
result:
ok good job! (2 test cases)
Test #72:
score: 4
Accepted
time: 0ms
memory: 3628kb
input:
2 3 0 3 1
output:
Yes 1 11 Yes 1 01
result:
ok good job! (2 test cases)
Test #73:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 4 2
output:
Yes 0 11 101
result:
ok good job! (1 test case)
Test #74:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 5 5
output:
Yes 1 10 011 0101
result:
ok good job! (1 test case)
Test #75:
score: 4
Accepted
time: 0ms
memory: 3764kb
input:
1 6 8
output:
Yes 0 01 110 1011 10101
result:
ok good job! (1 test case)
Test #76:
score: 4
Accepted
time: 0ms
memory: 3724kb
input:
1 7 14
output:
Yes 1 10 101 0110 01011 010101
result:
ok good job! (1 test case)
Test #77:
score: 4
Accepted
time: 0ms
memory: 3632kb
input:
1 6 5
output:
Yes 1 10 011 0101 11111
result:
ok good job! (1 test case)
Test #78:
score: 4
Accepted
time: 0ms
memory: 3832kb
input:
1 6 4
output:
Yes 1 10 101 0101 11111
result:
ok good job! (1 test case)
Test #79:
score: 4
Accepted
time: 0ms
memory: 3768kb
input:
1 7 7
output:
Yes 1 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #80:
score: 4
Accepted
time: 0ms
memory: 3632kb
input:
1 7 6
output:
Yes 1 01 111 1101 10101 111111
result:
ok good job! (1 test case)
Test #81:
score: 4
Accepted
time: 1ms
memory: 5732kb
input:
1 7 8
output:
Yes 0 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #82:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 6 7
output:
Yes 1 01 110 1011 10101
result:
ok good job! (1 test case)
Test #83:
score: 4
Accepted
time: 0ms
memory: 3772kb
input:
1 6 6
output:
Yes 1 01 111 1101 10101
result:
ok good job! (1 test case)
Test #84:
score: 4
Accepted
time: 0ms
memory: 3628kb
input:
1 7 11
output:
Yes 1 00 111 0010 11011 100101
result:
ok good job! (1 test case)
Test #85:
score: 4
Accepted
time: 0ms
memory: 3776kb
input:
1 7 11
output:
Yes 1 00 111 0010 11011 100101
result:
ok good job! (1 test case)
Test #86:
score: 4
Accepted
time: 0ms
memory: 3628kb
input:
1 7 13
output:
Yes 1 10 101 1010 01011 010101
result:
ok good job! (1 test case)
Test #87:
score: 4
Accepted
time: 0ms
memory: 3776kb
input:
1 6 6
output:
Yes 1 01 111 1101 10101
result:
ok good job! (1 test case)
Test #88:
score: 4
Accepted
time: 0ms
memory: 3772kb
input:
1 7 9
output:
Yes 1 11 111 0010 11101 100101
result:
ok good job! (1 test case)
Test #89:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 4 3
output:
No
result:
ok good job! (1 test case)
Test #90:
score: 4
Accepted
time: 0ms
memory: 3816kb
input:
1 5 10
output:
No
result:
ok good job! (1 test case)
Test #91:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 6 13
output:
No
result:
ok good job! (1 test case)
Test #92:
score: 4
Accepted
time: 0ms
memory: 3612kb
input:
1 7 23
output:
No
result:
ok good job! (1 test case)
Test #93:
score: 4
Accepted
time: 0ms
memory: 3820kb
input:
1 6 5
output:
Yes 1 10 011 0101 11111
result:
ok good job! (1 test case)
Test #94:
score: 4
Accepted
time: 0ms
memory: 3772kb
input:
1 6 2
output:
Yes 0 11 101 1111 11111
result:
ok good job! (1 test case)
Test #95:
score: 4
Accepted
time: 0ms
memory: 3836kb
input:
1 7 7
output:
Yes 1 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #96:
score: 4
Accepted
time: 0ms
memory: 3720kb
input:
1 7 6
output:
Yes 1 01 111 1101 10101 111111
result:
ok good job! (1 test case)
Test #97:
score: 4
Accepted
time: 0ms
memory: 3720kb
input:
1 7 8
output:
Yes 0 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #98:
score: 4
Accepted
time: 0ms
memory: 3628kb
input:
1 6 5
output:
Yes 1 10 011 0101 11111
result:
ok good job! (1 test case)
Test #99:
score: 4
Accepted
time: 0ms
memory: 3764kb
input:
1 6 4
output:
Yes 1 10 101 0101 11111
result:
ok good job! (1 test case)
Test #100:
score: 4
Accepted
time: 0ms
memory: 3828kb
input:
1 7 7
output:
Yes 1 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #101:
score: 4
Accepted
time: 0ms
memory: 3720kb
input:
1 7 6
output:
Yes 1 01 111 1101 10101 111111
result:
ok good job! (1 test case)
Test #102:
score: 4
Accepted
time: 0ms
memory: 3836kb
input:
1 7 8
output:
Yes 0 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #103:
score: 4
Accepted
time: 0ms
memory: 3824kb
input:
1 6 1
output:
Yes 1 01 111 1111 11111
result:
ok good job! (1 test case)
Test #104:
score: 4
Accepted
time: 0ms
memory: 3636kb
input:
1 6 1
output:
Yes 1 01 111 1111 11111
result:
ok good job! (1 test case)
Test #105:
score: 4
Accepted
time: 0ms
memory: 3760kb
input:
1 7 3
output:
Yes 1 00 111 1001 11111 111111
result:
ok good job! (1 test case)
Test #106:
score: 4
Accepted
time: 0ms
memory: 3680kb
input:
1 7 3
output:
Yes 1 00 111 1001 11111 111111
result:
ok good job! (1 test case)
Test #107:
score: 4
Accepted
time: 0ms
memory: 3824kb
input:
1 7 3
output:
Yes 1 00 111 1001 11111 111111
result:
ok good job! (1 test case)
Test #108:
score: 4
Accepted
time: 0ms
memory: 3680kb
input:
1 5 2
output:
Yes 0 11 101 1111
result:
ok good job! (1 test case)
Test #109:
score: 4
Accepted
time: 0ms
memory: 3628kb
input:
1 6 5
output:
Yes 1 10 011 0101 11111
result:
ok good job! (1 test case)
Test #110:
score: 4
Accepted
time: 0ms
memory: 3824kb
input:
2 4 1 3 0
output:
Yes 1 01 111 Yes 1 11
result:
ok good job! (2 test cases)
Test #111:
score: 4
Accepted
time: 0ms
memory: 3716kb
input:
1 6 1
output:
Yes 1 01 111 1111 11111
result:
ok good job! (1 test case)
Test #112:
score: 4
Accepted
time: 0ms
memory: 3828kb
input:
2 3 0 3 1
output:
Yes 1 11 Yes 1 01
result:
ok good job! (2 test cases)
Test #113:
score: 4
Accepted
time: 0ms
memory: 3712kb
input:
1 6 1
output:
Yes 1 01 111 1111 11111
result:
ok good job! (1 test case)
Test #114:
score: 4
Accepted
time: 0ms
memory: 3696kb
input:
1 6 4
output:
Yes 1 10 101 0101 11111
result:
ok good job! (1 test case)
Test #115:
score: 4
Accepted
time: 0ms
memory: 3828kb
input:
1 7 14
output:
Yes 1 10 101 0110 01011 010101
result:
ok good job! (1 test case)
Test #116:
score: 4
Accepted
time: 0ms
memory: 3828kb
input:
1 7 8
output:
Yes 0 01 110 1011 10101 111111
result:
ok good job! (1 test case)
Test #117:
score: 4
Accepted
time: 0ms
memory: 3768kb
input:
1 7 10
output:
Yes 1 10 111 0010 11011 100101
result:
ok good job! (1 test case)
Subtask #3:
score: 0
Wrong Answer
Dependency #2:
100%
Accepted
Test #118:
score: 23
Accepted
time: 0ms
memory: 3572kb
input:
1 19 969
output:
No
result:
ok good job! (1 test case)
Test #119:
score: 23
Accepted
time: 0ms
memory: 3716kb
input:
1 20 1140
output:
No
result:
ok good job! (1 test case)
Test #120:
score: 23
Accepted
time: 0ms
memory: 3828kb
input:
1 19 968
output:
No
result:
ok good job! (1 test case)
Test #121:
score: 23
Accepted
time: 0ms
memory: 3760kb
input:
1 19 969
output:
No
result:
ok good job! (1 test case)
Test #122:
score: 23
Accepted
time: 0ms
memory: 3612kb
input:
1 20 1138
output:
No
result:
ok good job! (1 test case)
Test #123:
score: 23
Accepted
time: 0ms
memory: 3820kb
input:
1 20 1138
output:
No
result:
ok good job! (1 test case)
Test #124:
score: 23
Accepted
time: 0ms
memory: 3572kb
input:
1 20 1140
output:
No
result:
ok good job! (1 test case)
Test #125:
score: 23
Accepted
time: 0ms
memory: 3688kb
input:
1 19 846
output:
No
result:
ok good job! (1 test case)
Test #126:
score: 23
Accepted
time: 0ms
memory: 3816kb
input:
1 20 1003
output:
No
result:
ok good job! (1 test case)
Test #127:
score: 23
Accepted
time: 0ms
memory: 3760kb
input:
5 3 0 3 1 4 0 4 1 4 2
output:
Yes 1 11 Yes 1 01 Yes 1 11 111 Yes 1 01 111 Yes 0 11 101
result:
ok good job! (5 test cases)
Test #128:
score: 23
Accepted
time: 0ms
memory: 3824kb
input:
5 3 0 3 1 4 0 4 1 4 2
output:
Yes 1 11 Yes 1 01 Yes 1 11 111 Yes 1 01 111 Yes 0 11 101
result:
ok good job! (5 test cases)
Test #129:
score: 23
Accepted
time: 0ms
memory: 3768kb
input:
1 19 285
output:
Yes 0 01 011 0110 01101 011010 0110101 01101010 011010101 1010101010 10011010101 100101101010 1001010110101 10010101011010 100101010101101 1001010101010110 10010101010101011 100101010101010101
result:
ok good job! (1 test case)
Test #130:
score: 23
Accepted
time: 0ms
memory: 3640kb
input:
1 20 330
output:
Yes 0 00 001 0011 00110 001101 0011010 00110101 001101010 1011010101 11010101010 110011010101 1100101101010 11001010110101 110010101011010 1100101010101101 11001010101010110 110010101010101011 1100101010101010101
result:
ok good job! (1 test case)
Test #131:
score: 23
Accepted
time: 0ms
memory: 3724kb
input:
1 19 274
output:
Yes 1 10 111 0010 11101 001010 1110101 00101010 111010101 0010101010 11011010101 000101101010 1101010110101 00010101011010 110101010101101 0001010101010110 11010101010101011 110001010101010101
result:
ok good job! (1 test case)
Test #132:
score: 23
Accepted
time: 0ms
memory: 3768kb
input:
1 19 271
output:
Yes 0 10 111 0000 10101 101010 1111101 00101010 111010101 0100101010 11101010101 001001101010 1101010110101 00010101011010 110101010101101 0001010101010110 11010101010101011 110101010101010101
result:
ok good job! (1 test case)
Test #133:
score: 23
Accepted
time: 0ms
memory: 3692kb
input:
1 20 289
output:
Yes 0 00 000 0001 00011 111110 1011100 11010101 110101010 1101010101 11100101010 000011010101 1111111101010 11100010110101 111000101011010 1010001010101101 11111110101010110 111010101010101011 1111111010101010101
result:
ok good job! (1 test case)
Test #134:
score: 23
Accepted
time: 0ms
memory: 3784kb
input:
1 20 328
output:
Yes 0 00 001 0011 00110 001101 0011010 00110101 100101010 1111010101 11010101010 101011010101 1100101101010 11001010110101 110010101011010 1100101010101101 11001010101010110 110010101010101011 1100101010101010101
result:
ok good job! (1 test case)
Test #135:
score: 23
Accepted
time: 0ms
memory: 3852kb
input:
1 20 313
output:
Yes 1 00 001 0001 01010 000101 0101010 00001101 010011010 1000110101 11111101010 100011010101 1111101101010 10100010110101 111110101011010 1110001010101101 11111010101010110 111000101010101011 1110001010101010101
result:
ok good job! (1 test case)
Test #136:
score: 0
Wrong Answer
time: 0ms
memory: 3776kb
input:
1 19 114
output:
Yes 0 00 111 1111 00101 111010 1111111 10011010 110010101 1100101010 11110101101 010001010110 1001010101011 11110101010101 111111111111111 1111111111111111 11111111111111111 111111111111111111
result:
wrong answer expected 114 ways, but found 118 ways (test case 1)
Subtask #4:
score: 0
Skipped
Dependency #3:
0%
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Skipped
Dependency #1:
0%