|

General

# Author Problem Lang Verdict Time Memory Sent Judged
46738341 Practice:
Surprised_Pikachu
950C - 45 GNU C++11 Accepted 514 ms 7804 KB 2018-12-08 01:12:18 2018-12-08 01:12:18

→ Source
#include <bits/stdc++.h>
using namespace std;

void solve()
{
string s;
cin >> s;

int z = 0;
int az = 0;

queue<int> curz;
queue<int> curaz;

vector<vector<int> > v;

for (int i = 0; i < s.length(); i++)
{
if (s[i] == '0')
{
if (az != 0)
{
az--;
z++;

v[curaz.front()].push_back(i + 1);

curz.push(curaz.front());
curaz.pop();
}

else
{
z++;
vector<int> f;
f.push_back(i + 1);
v.push_back(f);
curz.push(v.size() - 1);
}
}

else
{
if (z == 0)
{
cout << -1 << endl;
return;
}

else
{
z--;
az++;

v[curz.front()].push_back(i + 1);

curaz.push(curz.front());
curz.pop();
}
}
}

if (az != 0)
{
cout << -1 << endl;
return;
}

cout << v.size() << endl;

for (int i = 0; i < v.size(); i++)
{
cout << v[i].size() << " ";

for (int j = 0; j < v[i].size(); j++)
{
if (j) cout << " ";
cout << v[i][j];
}

cout << endl;
}
}

int main()
{
solve();
return 0;
}

1
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
0010100

Participant's output
3
3 1 3 4
3 2 5 6
1 7

3
1 1
5 2 3 4 5 6
1 7

Checker comment
ok Participant and Jury found the correct answer


2
Time: 15 ms, memory: 24 KB
Verdict: OK
Input
111

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


3
Time: 15 ms, memory: 20 KB
Verdict: OK
Input
0

Participant's output
1
1 1

1
1 1

Checker comment
ok Participant and Jury found the correct answer


4
Time: 31 ms, memory: 0 KB
Verdict: OK
Input
1

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


5
Time: 30 ms, memory: 0 KB
Verdict: OK
Input
0101010101

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


6
Time: 15 ms, memory: 48 KB
Verdict: OK
Input
0001000011001000001110001011011000111110010010010000111100101010000001101110000111000010111101100101111001010001111001010111001010000110010101111100000101101100101010011110110100001011000110110001101011001001010100011111001001011010000110010101110111010010011101000010100011001110011011100011000010111011000110110011101011010110000000111011010011110010100001011010111101000100100010100110111011101110000011010011001100101001100011011011100100001111100101101000011110111100011001010000111000010110011100001011100...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


7
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0000111111101001101000100000000000000000000000111100001000010010000000101101000100011010010011000000111100111011000011000101010111001011010100100000011110010011101100011110110010010110111110000011010000011010100110111100100110110011101110000000101000000111000001100100100010010001110111001001111111001010100100110101111001100111110000010110011111110001001101101001100100110010100010111110111000110101001001000101001011001100011100000111100010000111000011010111110011101000000010111111101110100000011110001001001...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


8
Time: 264 ms, memory: 3888 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
66666
3 1 66667 133333
3 2 66668 133334
3 3 66669 133335
3 4 66670 133336
3 5 66671 133337
3 6 66672 133338
3 7 66673 133339
3 8 66674 133340
3 9 66675 133341
3 10 66676 133342
3 11 66677 133343
3 12 66678 133344
3 13 66679 133345
3 14 66680 133346
3 15 66681 133347
3 16 66682 133348
3 17 66683 133349
3 18 66684 133350
3 19 66685 133351
3 20 66686 133352
3 21 66687 133353
3 22 66688 133354
3 23 66689 133355
3 24 66690 133356
3 25 66691 133357
3 26 66692 133358
3 27 66693 133359
...
66666
3 1 133332 133333
3 2 133331 133334
3 3 133330 133335
3 4 133329 133336
3 5 133328 133337
3 6 133327 133338
3 7 133326 133339
3 8 133325 133340
3 9 133324 133341
3 10 133323 133342
3 11 133322 133343
3 12 133321 133344
3 13 133320 133345
3 14 133319 133346
3 15 133318 133347
3 16 133317 133348
3 17 133316 133349
3 18 133315 133350
3 19 133314 133351
3 20 133313 133352
3 21 133312 133353
3 22 133311 133354
3 23 133310 133355
3 24 133309 133356
3 25 133308 133357
3 26 133307 1...
Checker comment
ok Participant and Jury found the correct answer


9
Time: 124 ms, memory: 2652 KB
Verdict: OK
Input
0001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110001110...
Participant's output
3
66665 1 4 7 10 13 16 19 22 25 28 31 34 37 40 43 46 49 52 55 58 61 64 67 70 73 76 79 82 85 88 91 94 97 100 103 106 109 112 115 118 121 124 127 130 133 136 139 142 145 148 151 154 157 160 163 166 169 172 175 178 181 184 187 190 193 196 199 202 205 208 211 214 217 220 223 226 229 232 235 238 241 244 247 250 253 256 259 262 265 268 271 274 277 280 283 286 289 292 295 298 301 304 307 310 313 316 319 322 325 328 331 334 337 340 343 346 349 352 355 358 361 364 367 370 373 376 379 382 385 388 391 394 397 400 40...
3
66665 1 6 7 12 13 18 19 24 25 30 31 36 37 42 43 48 49 54 55 60 61 66 67 72 73 78 79 84 85 90 91 96 97 102 103 108 109 114 115 120 121 126 127 132 133 138 139 144 145 150 151 156 157 162 163 168 169 174 175 180 181 186 187 192 193 198 199 204 205 210 211 216 217 222 223 228 229 234 235 240 241 246 247 252 253 258 259 264 265 270 271 276 277 282 283 288 289 294 295 300 301 306 307 312 313 318 319 324 325 330 331 336 337 342 343 348 349 354 355 360 361 366 367 372 373 378 379 384 385 390 391 396 397 402 40...
Checker comment
ok Participant and Jury found the correct answer


10
Time: 514 ms, memory: 7476 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
200000
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 ...
200000
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 ...
Checker comment
ok Participant and Jury found the correct answer


11
Time: 31 ms, memory: 24 KB
Verdict: OK
Input
010100001

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


12
Time: 15 ms, memory: 8 KB
Verdict: OK
Input
000111000

Participant's output
3
3 1 4 7
3 2 5 8
3 3 6 9

3
3 1 6 7
3 2 5 8
3 3 4 9

Checker comment
ok Participant and Jury found the correct answer


13
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0101001000

Participant's output
4
7 1 2 3 4 5 7 8
1 6
1 9
1 10

4
5 1 2 3 4 5
3 6 7 8
1 9
1 10

Checker comment
ok Participant and Jury found the correct answer


14
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0000001000

Participant's output
8
3 1 7 8
1 2
1 3
1 4
1 5
1 6
1 9
1 10

8
1 1
1 2
1 3
1 4
1 5
3 6 7 8
1 9
1 10

Checker comment
ok Participant and Jury found the correct answer


15
Time: 30 ms, memory: 20 KB
Verdict: OK
Input
0101

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


16
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
000101110

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


17
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
010101010

Participant's output
1
9 1 2 3 4 5 6 7 8 9

1
9 1 2 3 4 5 6 7 8 9

Checker comment
ok Participant and Jury found the correct answer


18
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0101001010

Participant's output
2
7 1 2 3 4 5 7 8
3 6 9 10

2
5 1 2 3 4 5
5 6 7 8 9 10

Checker comment
ok Participant and Jury found the correct answer


19
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0100101100

Participant's output
2
7 1 2 3 5 6 8 10
3 4 7 9

2
5 1 2 3 8 9
5 4 5 6 7 10

Checker comment
ok Participant and Jury found the correct answer


20
Time: 0 ms, memory: 12 KB
Verdict: OK
Input
0110100000

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


21
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0000000000

Participant's output
10
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10

10
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10

Checker comment
ok Participant and Jury found the correct answer


22
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
1111111111

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


23
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
0010101100

Participant's output
2
5 1 3 4 7 9
5 2 5 6 8 10

2
3 1 8 9
7 2 3 4 5 6 7 10

Checker comment
ok Participant and Jury found the correct answer


24
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
1010000

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


25
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0001110

Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


26
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
0000000000011001100011110101000101000010010111000100110110000011010011110110001100100001001001010010

Participant's output
22
7 1 12 14 34 36 64 67
7 2 13 15 39 40 70 76
7 3 16 18 42 43 72 78
7 4 17 19 44 47 74 81
7 5 21 25 46 49 79 84
7 6 22 27 50 51 80 85
7 7 23 29 53 55 88 89
7 8 24 30 54 58 91 92
7 9 26 31 56 59 94 95
7 10 28 33 57 60 96 97
5 11 32 35 63 65
5 20 45 48 75 82
3 37 66 68
3 38 69 73
3 41 71 77
3 52 83 86
3 61 99 100
1 62
1 87
1 90
1 93
1 98

22
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
7 9 24 25 26 27 28 29
7 10 13 14 17 18 23 30
11 11 12 15 16 19 22 31 32 33 34 35
3 20 21 36
3 37 46 47
9 38 39 40 45 48 57 58 75 76
17 41 42 43 44 49 50 51 54 55 56 59 72 73 74 77 80 81
9 52 53 60 71 78 79 82 83 84
7 61 64 65 66 67 70 85
5 62 63 68 69 86
3 87 88 89
3 90 91 92
5 93 94 95 96 97
3 98 99 100

Checker comment
ok Participant and Jury found the correct answer


27
Time: 30 ms, memory: 52 KB
Verdict: OK
Input
0000000000000000000000000000000000000100000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000001000010010000000000000010000000000000100000000000010001001010000000000001100000000000100000000000100011000001000110000000000000000000000000001001000000110000000000010000011010010000000000000000000000001010011000000010000000100000000000000010100001101001100100000000010001100100010010000000010010110001000000010000001001111000...
Participant's output
1028
7 1 38 39 428 429 1662 1664
5 2 67 68 554 555
5 3 150 151 838 840
5 4 187 188 971 973
5 5 192 193 983 987
5 6 195 196 985 989
5 7 210 211 1034 1036
5 8 224 225 1086 1089
5 9 237 238 1119 1125
5 10 241 242 1123 1130
5 11 244 245 1128 1132
5 12 246 247 1134 1135
5 13 259 261 1166 1168
5 14 260 262 1178 1179
5 15 272 273 1207 1213
5 16 284 285 1240 1241
5 17 288 290 1248 1250
5 18 289 291 1249 1251
5 19 295 296 1264 1265
5 20 299 301 1282 1283
5 21 300 302 1288 1290
5 22 328 329 137...
1028
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
3 37 38 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
3 66 67 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 86
1 87
1 88...
Checker comment
ok Participant and Jury found the correct answer


28
Time: 15 ms, memory: 16 KB
Verdict: OK
Input
0000100100111100110010100010011010011100101010011010001111100110000100111100010011010110110001010101100111110100010101001000011101001001110100101110000111110000111100100100010011011110110010110001011000111001110100101010110011010010110100011000111001100011011000110010110011110110101010000101011010010011001110010101001010010110111011100110001110010010101100001101100101001011100010110011101000011000111111010110000001011100101011010111000000111010100101100011110001101001001111001001110001011100011011100110110...
Participant's output
10
207 1 5 6 13 19 27 28 38 42 55 60 71 75 86 91 101 109 116 122 136 139 153 158 170 173 186 195 208 216 226 237 247 254 269 277 285 296 308 315 329 337 345 357 368 374 388 394 406 415 429 437 449 453 469 473 490 495 507 514 530 536 548 555 570 574 589 593 610 613 629 633 648 652 669 676 688 694 706 715 729 734 751 753 771 776 787 794 808 813 829 833 847 855 870 873 889 895 909 913 929 934 946 957 970 976 989 993 1009 1016 1030 1034 1048 1053 1066 1074 1089 1095 1109 1114 1129 1133 1149 1156 1169 1174 118...
10
1 1
1 2
9 3 14 15 18 19 108 109 110 111
33 4 5 6 13 16 17 20 21 22 23 24 59 60 63 64 107 112 279 280 281 282 283 284 285 286 335 336 339 340 345 346 411 412
85 7 8 9 12 25 38 39 58 61 62 65 74 75 90 91 106 113 114 115 116 117 118 119 156 157 164 165 186 187 192 193 210 211 212 213 222 223 226 227 228 229 234 235 236 237 276 277 278 287 334 337 338 341 344 347 348 349 356 357 406 407 408 409 410 413 436 437 510 511 706 707 708 709 710 711 738 739 800 801 946 947 956 957 1066 1067
211 10 11 26 27 28...
Checker comment
ok Participant and Jury found the correct answer


29
Time: 15 ms, memory: 12 KB
Verdict: OK
Input
0001101000001011011001100011101001001110001011100110011000100110110000101111100111000100101001100111001001110011000110011001110011001011001101100011000101110000110110010101011100100101010110101011001011001001110001010100110101100111000101010010110101011000101100111001001100111000111010101001001011001101010101100101001011101001100010101101011001100101001011001101001110101010011001001110001101011001010101101000110101001110100101001100101011010011010110100011011001101010001100110010110010101100101101011010100...
Participant's output
8
255 1 4 6 13 14 23 26 37 40 47 52 62 64 75 83 91 96 107 113 124 128 139 145 155 159 172 177 188 192 202 207 221 223 236 239 252 255 268 270 283 288 301 303 316 318 333 334 347 351 364 366 379 383 396 399 413 415 428 431 444 446 460 464 476 478 493 495 507 511 525 528 540 543 556 559 572 574 589 590 605 607 621 622 636 639 653 654 669 670 685 686 701 702 717 718 733 734 749 750 765 766 781 782 797 798 813 814 829 830 845 846 861 862 877 878 893 894 909 910 925 926 941 942 957 958 973 974 989 990 1005 100...
8
1 1
5 2 5 6 7 8
5 3 4 9 82 83
23 10 19 20 23 24 29 30 31 32 39 40 47 48 51 52 55 56 77 78 81 84 143 144
57 11 16 17 18 21 22 25 28 33 34 35 38 41 46 49 50 53 54 57 66 67 76 79 80 85 86 87 100 101 108 109 112 113 126 127 130 131 136 137 140 141 142 145 148 149 156 157 176 177 196 197 202 203 210 211 232 233
151 12 13 14 15 26 27 36 37 42 43 44 45 58 59 60 63 64 65 68 75 88 89 90 91 92 95 96 99 102 103 104 107 110 111 114 117 118 121 122 125 128 129 132 133 134 135 138 139 146 147 150 155 158 165 166...
Checker comment
ok Participant and Jury found the correct answer


30
Time: 15 ms, memory: 20 KB
Verdict: OK
Input
0000000000000000000110000010000000010001011100010111001001110010000011001001001001000001001110010101000101101011011111001000100100000000100001101101100001110000011010111101110111111111010000111010010110011100111000100000011101000001101010010100111001001000011000101011000100000010110111101000110001110111101101010010111010001100000000011111100000101100111011001110011111000100011111010001101101010000000000100101010100101100010000111011111010000011100111011010110001110100001001011111110101101111001000101000001...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


31
Time: 30 ms, memory: 28 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111...
Participant's output
500
3 1 501 1001
3 2 502 1002
3 3 503 1003
3 4 504 1004
3 5 505 1005
3 6 506 1006
3 7 507 1007
3 8 508 1008
3 9 509 1009
3 10 510 1010
3 11 511 1011
3 12 512 1012
3 13 513 1013
3 14 514 1014
3 15 515 1015
3 16 516 1016
3 17 517 1017
3 18 518 1018
3 19 519 1019
3 20 520 1020
3 21 521 1021
3 22 522 1022
3 23 523 1023
3 24 524 1024
3 25 525 1025
3 26 526 1026
3 27 527 1027
3 28 528 1028
3 29 529 1029
3 30 530 1030
3 31 531 1031
3 32 532 1032
3 33 533 1033
3 34 534 1034
3 35 ...
500
3 1 1000 1001
3 2 999 1002
3 3 998 1003
3 4 997 1004
3 5 996 1005
3 6 995 1006
3 7 994 1007
3 8 993 1008
3 9 992 1009
3 10 991 1010
3 11 990 1011
3 12 989 1012
3 13 988 1013
3 14 987 1014
3 15 986 1015
3 16 985 1016
3 17 984 1017
3 18 983 1018
3 19 982 1019
3 20 981 1020
3 21 980 1021
3 22 979 1022
3 23 978 1023
3 24 977 1024
3 25 976 1025
3 26 975 1026
3 27 974 1027
3 28 973 1028
3 29 972 1029
3 30 971 1030
3 31 970 1031
3 32 969 1032
3 33 968 1033
3 34 967 1034
3 35...
Checker comment
ok Participant and Jury found the correct answer


32
Time: 15 ms, memory: 36 KB
Verdict: OK
Input
0000000000001000100010000000100010100001000000111000000100011000010100000110000011000010000010110101011100101100010010010100010000011111100000110101000010001010101011101100011000011001110001100001100001000011010010011000010100011001000000111011100010001011101011000110111100011111111100000101001100000110001010000011010010101100100101000101001001011010100101100011000110011110010100010111110100110111001000001001101010011100010101101011000000000011001110111011000000001100100010100100010011010101010010010000000...
Participant's output
596
13 1 13 14 61 63 161 162 296 306 486 487 1093 1593
11 2 17 18 74 76 180 182 325 327 1002 1502
11 3 21 22 82 84 191 193 340 341 1011 1511
11 4 29 30 102 106 229 231 390 401 1040 1540
11 5 33 34 107 112 240 246 409 411 1048 1548
11 6 35 36 109 113 241 247 412 414 1049 1549
11 7 40 41 120 121 253 254 421 424 1054 1554
11 8 47 50 135 141 272 287 452 458 1073 1573
11 9 48 51 136 142 276 288 453 461 1074 1574
11 10 49 52 137 145 277 289 455 462 1075 1575
11 11 56 57 148 151 281 297 460 466 1079 15...
596
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
3 12 13 14
1 15
3 16 17 18
1 19
3 20 21 22
1 23
1 24
1 25
1 26
1 27
3 28 29 30
1 31
5 32 33 34 35 36
1 37
1 38
3 39 40 41
1 42
1 43
3 44 49 50
3 45 48 51
3 46 47 52
1 53
1 54
3 55 56 57
3 58 61 62
3 59 60 63
1 64
5 65 66 67 68 69
1 70
1 71
3 72 75 76
3 73 74 77
1 78
3 79 82 83
3 80 81 84
1 85
3 86 87 88
5 89 104 105 110 111
7 90 103 106 107 108 109 112
11 91 96 97 98 99 100 101 102 113 114 115
7 92 93 94 9...
Checker comment
ok Participant and Jury found the correct answer


33
Time: 15 ms, memory: 36 KB
Verdict: OK
Input
0000000000010100001101100110011011010100101000000101110110001010101101101000010110101100101010110010000111101000101000101010011001101100100101000111000011000101100001111011000010101000110001011010000010101100000000000000010000100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
618
15 1 12 13 34 40 67 72 104 108 146 149 201 202 826 1426
15 2 14 15 36 42 68 74 105 110 147 150 203 204 827 1427
13 3 19 21 50 51 83 87 121 122 167 173 807 1407
13 4 20 24 52 55 85 88 123 124 168 174 808 1408
13 5 22 25 53 58 86 90 126 128 171 176 810 1410
13 6 23 28 54 59 89 92 127 129 172 178 811 1411
13 7 26 29 56 60 91 94 130 132 177 180 812 1412
13 8 27 32 57 62 93 97 131 135 179 182 813 1413
13 9 30 35 61 64 95 98 133 136 181 183 814 1414
13 10 31 37 63 66 96 100 134 138 185 187 816 1416...
618
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
11 11 12 13 14 15 34 35 36 37 38 39
13 16 23 24 27 28 31 32 33 40 41 42 43 44
9 17 20 21 22 25 26 29 30 45
9 18 19 46 57 58 71 72 73 74
13 47 54 55 56 59 68 69 70 75 86 87 96 97
31 48 53 60 61 62 63 64 65 66 67 76 81 82 83 84 85 88 89 90 91 92 93 94 95 98 99 100 107 108 109 110
11 49 50 51 52 77 78 79 80 101 106 111
7 102 105 112 113 114 115 116
7 103 104 117 134 135 1400 1401
17 118 119 120 121 122 123 124 127 128 131 132 133 136 137 138 139...
Checker comment
ok Participant and Jury found the correct answer


34
Time: 30 ms, memory: 44 KB
Verdict: OK
Input
0000011000101000101111100000101100001000100011000011001000100101001010101001000110010110000100110001010110110001110100100000110100110010101000100101100000100000001010010001000110100101010000011001100000010011000100101001000010000001010010010001000000010010100100100010001000101000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
606
15 1 6 8 19 24 37 38 67 68 113 117 192 194 825 1425
15 2 7 9 20 25 41 42 73 74 119 121 197 199 828 1428
15 3 11 12 22 27 46 48 84 85 137 138 234 235 854 1454
15 4 13 14 23 28 51 53 92 93 149 151 263 264 875 1475
13 5 17 18 32 34 59 60 104 106 177 180 816 1416
13 10 21 26 45 47 81 83 135 136 232 233 853 1453
11 15 29 30 52 54 95 97 163 164 806 1406
11 16 31 33 55 56 96 98 165 166 807 1407
9 35 62 63 107 110 182 183 818 1418
9 36 64 65 108 111 184 185 819 1419
9 39 69 70 114 118 193 195 826 14...
606
1 1
1 2
1 3
5 4 7 8 23 24
5 5 6 9 22 25
7 10 11 12 13 14 21 26
7 15 20 27 32 33 1400 1401
11 16 17 18 19 28 29 30 31 34 1399 1402
3 35 1398 1403
5 36 37 38 1397 1404
3 39 1396 1405
5 40 41 42 1395 1406
5 43 46 47 1394 1407
5 44 45 48 1393 1408
5 49 52 53 1392 1409
7 50 51 54 55 56 1391 1410
3 57 1390 1411
5 58 59 60 1389 1412
7 61 62 63 64 65 1388 1413
11 66 67 68 69 70 71 72 73 74 1387 1414
5 75 76 77 1386 1415
7 78 81 82 87 88 1385 1416
9 79 80 83 84 85 86 89 1384 1417
3 90 13...
Checker comment
ok Participant and Jury found the correct answer


35
Time: 15 ms, memory: 76 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
2000
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 86...
2000
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 86...
Checker comment
ok Participant and Jury found the correct answer


36
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


37
Time: 31 ms, memory: 16 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
1
1999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153...
1
1999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153...
Checker comment
ok Participant and Jury found the correct answer


38
Time: 15 ms, memory: 64 KB
Verdict: OK
Input
0000000110000000100011010101001101000100111010001001100101110101001000100111010001010010001011110111011000011110000011100000101110101001011101100100000100110111011001010100001111011000001010101011011100100111001001000010110001000001110110111011000111010000001101000110010100011111100001101001101011000011011010000101101100001110000011101100100001000101100111000101001110000000101111000010010110000010110000101001010100000000100010100000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
1628
19 1 8 10 28 30 59 63 96 105 140 147 189 190 240 251 306 311 382 386
19 2 9 11 31 33 60 65 98 106 142 148 191 192 241 253 307 312 387 388
17 3 17 18 43 47 78 81 118 123 163 171 214 216 270 271 335 340
17 4 21 23 52 54 91 92 133 137 178 184 234 242 297 302 377 378
17 5 22 25 53 55 93 97 136 141 180 185 236 245 298 305 379 383
17 6 24 27 56 57 94 101 138 144 181 186 237 246 303 308 380 384
17 7 26 29 58 61 95 104 139 145 187 188 239 247 304 310 381 385
17 12 32 35 62 66 99 107 143 149 193 194 24...
1628
1 1
1 2
1 3
1 4
1 5
3 6 9 10
3 7 8 11
1 12
1 13
1 14
1 15
3 16 17 18
13 19 22 23 24 25 26 27 28 29 32 33 34 35
9 20 21 30 31 36 43 44 45 46
11 37 38 39 42 47 60 61 62 63 64 65
15 40 41 48 49 50 53 54 59 66 67 68 103 104 111 112
17 51 52 55 56 57 58 69 76 77 78 79 100 101 102 105 110 113
13 70 71 72 75 80 99 106 109 114 119 120 143 144
21 73 74 81 82 83 84 85 96 97 98 107 108 115 118 121 140 141 142 145 146 147
19 86 87 88 95 116 117 122 129 130 131 132 133 134 139 148 163 164 181 1...
Checker comment
ok Participant and Jury found the correct answer


39
Time: 15 ms, memory: 12 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


40
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
1010000101110001000011000100100100100001110100010010110100110010000100110000101000110100100010100001000100001100001011010010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


41
Time: 0 ms, memory: 36 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001...
Participant's output
102
19 1 103 205 307 409 511 613 715 817 919 1021 1123 1225 1327 1429 1531 1633 1735 1837
19 2 104 206 308 410 512 614 716 818 920 1022 1124 1226 1328 1430 1532 1634 1736 1838
19 3 105 207 309 411 513 615 717 819 921 1023 1125 1227 1329 1431 1533 1635 1737 1839
19 4 106 208 310 412 514 616 718 820 922 1024 1126 1228 1330 1432 1534 1636 1738 1840
19 5 107 209 311 413 515 617 719 821 923 1025 1127 1229 1331 1433 1535 1637 1739 1841
19 6 108 210 312 414 516 618 720 822 924 1026 1128 1230 1332 1434 1536 ...
102
19 1 204 205 408 409 612 613 816 817 1020 1021 1224 1225 1428 1429 1632 1633 1836 1837
19 2 203 206 407 410 611 614 815 818 1019 1022 1223 1226 1427 1430 1631 1634 1835 1838
19 3 202 207 406 411 610 615 814 819 1018 1023 1222 1227 1426 1431 1630 1635 1834 1839
19 4 201 208 405 412 609 616 813 820 1017 1024 1221 1228 1425 1432 1629 1636 1833 1840
19 5 200 209 404 413 608 617 812 821 1016 1025 1220 1229 1424 1433 1628 1637 1832 1841
19 6 199 210 403 414 607 618 811 822 1015 1026 1219 1230 1423 1434...
Checker comment
ok Participant and Jury found the correct answer


42
Time: 15 ms, memory: 40 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000010000000000000000000000010000000000000000000000000000100000000000001000000000000000000101001101000000000000100000000000000010000000001000001000000010000010100100000000000000000000010010000001000000001000000000110000000000000001011000010000000011000100000000000000000010000000000000000011000000110000000000000100001000110011000000011000001111000100100010100000010010001011010010110010100010101001101000...
Participant's output
549
7 1 85 86 565 568 1442 1547
7 2 111 112 638 639 1593 1698
7 3 135 136 681 695 1620 1725
7 4 164 165 748 752 1654 1759
7 5 178 179 781 783 1673 1778
7 6 197 198 828 831 1807 1912
7 7 199 200 829 832 1808 1913
7 8 202 204 835 836 1810 1915
7 9 203 206 838 839 1812 1917
7 10 205 207 841 842 1814 1919
5 11 218 219 957 1062
5 12 234 235 972 1077
5 13 244 245 981 1086
5 14 250 251 986 1091
5 15 258 259 993 1098
5 16 264 265 998 1103
5 17 266 267 999 1104
5 18 269 270 1001 1106
5 19 291 292...
549
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
3 84 85 86
1 87
...
Checker comment
ok Participant and Jury found the correct answer


43
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
1111111111111111111111111111110111011111111111111111111111111011111111111111111111111111111101111111111111111111110111111111111111111111111111011111111111111111111111111111111111111101011111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111011111110111111111111111111111110111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111011111111111111111111111111111111111111111111111111111111111111111111111111110...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


44
Time: 15 ms, memory: 32 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


45
Time: 249 ms, memory: 2940 KB
Verdict: OK
Input
0000000001000000000001000001000000000000000000000000000000000010010010000000001001011000000101101001000001000000000000000010001000000100000010000000001101010100001000010101000001000100100001100011100000000000100010001001010100010001100100010010010100010110001101011000001000100110000100000001001110000010000111100000101011010000001110101110000001010100100010110000000010110110101011000110101001001110000001100010000001011110001100110011010110010100010111111100100000010101101000010000110100100011001110111110001...
Participant's output
60428
69 1 10 11 85 87 322 325 703 719 1141 1153 1603 1625 2107 2122 2605 2637 3122 3154 3653 3659 4177 4200 4720 4746 5273 5295 5817 5862 6400 6423 6986 7013 7578 7621 8208 8232 8843 8863 9473 9522 10134 10149 10782 10818 11475 11485 12168 12193 12901 12930 13673 13724 14481 14517 15302 15324 16127 16153 16994 17012 17887 17898 18821 18835 19824 19838 80390 140390
67 2 22 23 151 153 453 460 857 873 1297 1304 1762 1771 2241 2283 2773 2781 3269 3318 3813 3814 4324 4378 4893 4897 5449 5466 5997 6024 6577 6...
60428
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
3 9 10 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
3 21 22 23
1 24
1 25
1 26
3 27 28 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
3 62 63 64
3 65 66 67
3 68 69 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
5 78 79 80 85 86
5 81 82 83 84 87
1 88
1 89
5 90 95 96 97 98
7 91 92 93 94 99 100 ...
Checker comment
ok Participant and Jury found the correct answer


46
Time: 264 ms, memory: 2912 KB
Verdict: OK
Input
0000001100000000011001010001011101010011001010011001001010110000011110001011000111000011000100110001001101011101001100010100111000110010011011000010001001010110101100011000111010110100001010001101010000111001011100110000111010011100010011011001100010000011110000101010011101101000110101000101001011000100001001001011101100100001110100110110000000011010001100010101100001001010001000110110011010010000101010101100110000111000110100011000110001001101010111101010000110010100001000111110001000101100110011100011000...
Participant's output
60012
43 1 7 9 28 29 59 61 96 98 142 145 203 206 274 279 370 371 497 499 657 660 862 868 1147 1148 1529 1530 2048 2049 2757 2759 3798 3801 5428 5430 7911 7915 11647 11648 17526 17527 80587 140587
43 2 8 10 30 33 60 62 100 101 151 152 211 217 284 288 384 388 520 524 690 693 906 908 1197 1198 1599 1600 2147 2148 2897 2898 4011 4012 5749 5750 8396 8398 12358 12359 18814 18815 81455 141455
43 3 18 20 45 47 80 83 122 124 175 181 240 243 319 324 432 434 577 579 767 771 1015 1018 1337 1338 1782 1784 2393 2394 ...
60012
1 1
1 2
1 3
1 4
3 5 8 9
3 6 7 10
1 11
1 12
1 13
1 14
1 15
3 16 19 20
17 17 18 21 22 23 24 25 32 33 34 35 36 37 40 41 140000 140001
13 26 31 38 39 42 43 44 45 46 49 50 139999 140002
13 27 28 29 30 47 48 51 52 53 60 61 139998 140003
11 54 55 56 57 58 59 62 69 70 139997 140004
9 63 68 71 76 77 82 83 139996 140005
11 64 67 72 73 74 75 78 81 84 139995 140006
9 65 66 79 80 85 88 89 139994 140007
5 86 87 90 139993 140008
13 91 92 93 96 97 110 111 112 113 116 117 139992 140009
11 94 95 ...
Checker comment
ok Participant and Jury found the correct answer


47
Time: 264 ms, memory: 2980 KB
Verdict: OK
Input
0000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000001000000001000000000000000000010000000100000000000000000000001000000000000000000000000000100010000000000010100000000000000000000000000000000000000000000000000000000000000000000000010010100100000000000000001001000000100000101000000001010000000000001000010000000100110000000000000000001000000000000100000000100...
Participant's output
63316
15 1 42 43 578 579 2475 2485 5765 5773 9832 9840 14546 14562 80205 140205
15 2 90 91 890 891 3128 3131 6601 6614 10795 10800 15690 15692 80833 140833
15 3 154 155 1155 1160 3617 3618 7221 7244 11522 11526 16526 16533 81289 141289
15 4 205 206 1355 1357 3966 3975 7638 7669 12013 12015 17152 17159 81637 141637
15 5 214 215 1384 1386 4020 4023 7699 7718 12081 12085 17255 17258 81698 141698
15 6 234 235 1483 1484 4205 4210 7935 7936 12334 12352 17612 17613 81909 141909
15 7 242 243 1522 1523 4287 ...
63316
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
3 41 42 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 86
1 8...
Checker comment
ok Participant and Jury found the correct answer


48
Time: 249 ms, memory: 2948 KB
Verdict: OK
Input
0000000000000100000000000000000000000000000000000001000000000000000000000000001000000000000001000000000000000000000000111000000010000000000000010000000100000000000010000000000000000010100100001000000010100000001001000001010001000101001000100100000000000000001000000000000010000000000000010010100100000000000000000010000000001100001000000000010000110000000010100011000000000011010001001000111000000000001110010000101010000111000010000000010011100000000100111100001100000010101101001011010100000001111000101110000...
Participant's output
63996
23 1 14 15 188 189 748 754 1688 1695 2809 2836 4046 4048 5352 5357 6740 6755 8228 8233 9871 9875 74373 137373
23 2 52 53 390 393 1162 1165 2217 2234 3362 3408 4619 4639 5942 5961 7355 7396 8933 8936 10714 10717 74845 137845
21 3 79 80 475 477 1296 1302 2376 2388 3561 3568 4817 4845 6182 6187 7612 7670 9209 9216 74017 137017
21 4 94 95 506 510 1341 1345 2419 2436 3608 3619 4865 4906 6238 6245 7653 7722 9270 9280 74052 137052
21 5 119 122 579 586 1440 1458 2530 2547 3723 3733 4987 5009 6364 6382 7...
63996
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
3 13 14 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
3 51 52 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
3 78 79 80
1 81
1 82
1 83
1 84
1 85
1 86
1 87
1 88
1 8...
Checker comment
ok Participant and Jury found the correct answer


49
Time: 124 ms, memory: 2412 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
1
199999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 1...
1
199999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 1...
Checker comment
ok Participant and Jury found the correct answer


50
Time: 186 ms, memory: 2148 KB
Verdict: OK
Input
0001000000111001001010001100000100101010000111110010000101111101001100100110000101100010000111100110110111111000000100110000010111100010010101100101011001011000100110000101100111111011010100100000110001001000011101011110101101000110010001011011001011111100000011101001100110000110011101011100010101010100110100001110111001010101001101010001101011111000001010010100110101110110110111001000110110000101100101001001111011100000010001100010110100111110000011111001000111010010010010000001001111011100010001011110100...
Participant's output
25023
97 1 4 5 13 17 37 38 64 72 102 113 148 149 188 196 244 256 302 310 362 367 417 425 487 491 561 566 638 644 721 728 819 827 929 941 1049 1053 1175 1186 1318 1324 1472 1484 1640 1652 1826 1833 2029 2032 2255 2262 2521 2524 2809 2821 3139 3144 3502 3512 3899 3905 4343 4350 4835 4840 5385 5388 6014 6018 6736 6744 7573 7579 8548 8552 9671 9674 10981 10988 12510 12512 14258 14259 16289 16294 18705 18709 21724 21727 25817 25821 51561 76561 101584 126584 151607 176607
95 2 11 14 32 33 60 66 98 110 142 144 ...
25023
1 1
1 2
3 3 4 5
1 6
1 7
3 8 13 14
5 9 12 15 16 17
7 10 11 18 19 20 21 22
3 23 26 27
3 24 25 28
1 29
3 30 109 110
13 31 32 33 48 49 62 63 64 65 68 69 108 111
21 34 35 36 37 38 39 40 47 50 51 52 61 66 67 70 71 72 75 76 107 112
9 41 46 53 60 73 74 77 106 113
9 42 45 54 59 78 83 84 105 114
19 43 44 55 56 57 58 79 80 81 82 85 102 103 104 115 116 117 120 121
13 86 87 88 95 96 99 100 101 118 119 122 131 132
13 89 94 97 98 123 130 133 184 185 186 187 188 189
19 90 93 124 129 134 135 136 1...
Checker comment
ok Participant and Jury found the correct answer


51
Time: 46 ms, memory: 1988 KB
Verdict: OK
Input
0000000000000000000000000001001100010000000000000101000010011010010010000010110000000000100000011000100011101010010010110010100111011000101100001001100001100100111111100001110011110110000011010000111101011001000101101111001010001100000010001101001100000001110100101001100000101011010110001010101010111111000101000111110100010011000011101100101011110100001110010010110000011110111100010111000101011000100011101011001100100000111111101001011100001000110111001111000010010010100100100110101100000111011011111000111...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


52
Time: 124 ms, memory: 2236 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
Participant's output
305
655 1 306 611 916 1221 1526 1831 2136 2441 2746 3051 3356 3661 3966 4271 4576 4881 5186 5491 5796 6101 6406 6711 7016 7321 7626 7931 8236 8541 8846 9151 9456 9761 10066 10371 10676 10981 11286 11591 11896 12201 12506 12811 13116 13421 13726 14031 14336 14641 14946 15251 15556 15861 16166 16471 16776 17081 17386 17691 17996 18301 18606 18911 19216 19521 19826 20131 20436 20741 21046 21351 21656 21961 22266 22571 22876 23181 23486 23791 24096 24401 24706 25011 25316 25621 25926 26231 26536 26841 27146 2...
305
655 1 610 611 1220 1221 1830 1831 2440 2441 3050 3051 3660 3661 4270 4271 4880 4881 5490 5491 6100 6101 6710 6711 7320 7321 7930 7931 8540 8541 9150 9151 9760 9761 10370 10371 10980 10981 11590 11591 12200 12201 12810 12811 13420 13421 14030 14031 14640 14641 15250 15251 15860 15861 16470 16471 17080 17081 17690 17691 18300 18301 18910 18911 19520 19521 20130 20131 20740 20741 21350 21351 21960 21961 22570 22571 23180 23181 23790 23791 24400 24401 25010 25011 25620 25621 26230 26231 26840 26841 27450 ...
Checker comment
ok Participant and Jury found the correct answer


53
Time: 31 ms, memory: 2408 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


54
Time: 15 ms, memory: 508 KB
Verdict: OK
Input
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


55
Time: 46 ms, memory: 504 KB
Verdict: OK
Input
0110000110001010000100100010100010011101001111000111011100010000111000010001101110110100111000101001101001101101001100010111011000100110011000111010010100001001001110010001011111100010010100001010100110101010101110010000110010111100111010011101000000101101100101010100110011001011001010010011000101101000101011000000000101011010110010101011010101011001011001100111000101100111100111000011011010000100111001011100000011111011010100100001001101111001010001000111110100100111000011011000010010010110011010011100100...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


56
Time: 124 ms, memory: 1704 KB
Verdict: OK
Input
0001100000100001110000010101001001110110010010001101101101010100110100111100001011111000011001101010000010110110011000101010011001110001110110011010010001110010111100010001000111101001001100100110111010111000010101011010101000011101011000111001010000100010110101111011110001110111000010100010101010100011111100010000100010110110101001110101110111101011000000010000011111010001110001100010101101111110100100100001001000111001101110101111001101000110011010110010100011111010001010110001010101111011000000000111111...
Participant's output
26
7877 1 4 6 16 19 36 41 62 69 90 98 121 122 147 152 179 185 214 220 251 252 280 294 327 332 368 374 407 414 450 462 492 503 534 552 579 593 627 636 669 681 716 730 757 772 800 812 847 857 889 905 931 948 981 993 1022 1041 1073 1083 1112 1127 1161 1175 1206 1224 1253 1268 1296 1314 1345 1363 1393 1404 1439 1449 1485 1495 1530 1543 1576 1590 1619 1637 1670 1684 1714 1728 1761 1772 1801 1823 1852 1865 1898 1911 1942 1958 1990 2002 2032 2050 2082 2095 2129 2138 2170 2189 2216 2237 2264 2284 2307 2328 2354 2...
26
1 1
3 2 5 6
3 3 4 7
1 8
1 9
3 10 11 12
3 13 18 19
7 14 17 20 85 86 7831 7832
23 15 16 21 74 75 84 87 2694 2695 2696 2697 5184 5185 6060 6061 7830 7833 20028 20029 21284 21285 21302 21303
73 22 39 40 73 76 83 88 91 92 95 96 97 98 99 100 727 728 2173 2174 2319 2320 2321 2322 2475 2476 2693 2698 2717 2718 2719 2720 2951 2952 3945 3946 5183 5186 5585 5586 6059 6062 6063 6064 7829 7834 9143 9144 9275 9276 12685 12686 14391 14392 14431 14432 18333 18334 18335 18336 19565 19566 20027 20030 21283 2128...
Checker comment
ok Participant and Jury found the correct answer


57
Time: 124 ms, memory: 2160 KB
Verdict: OK
Input
0000000000000001011000000000101000000011001101101001001100011011100010010110100101001101001110110101111100100110011000101000010101001001100001101011110010011010100111000010101111100011010000101000101111011010110101010001111100101110100010100000010111101100100010000001110101000000001011110101011000111111110101011111101001100101111011111010001000011110111010011110110100010000000000010100010000111100110001101010101111111100100100010000011111111110101000000110011000100110011000110011001001010101000011011101001...
Participant's output
58
3593 1 16 17 60 62 114 123 178 187 248 255 314 344 401 424 484 499 568 589 651 668 738 756 820 841 905 921 990 1003 1066 1093 1154 1170 1237 1261 1324 1344 1409 1425 1494 1506 1582 1591 1665 1673 1748 1759 1829 1848 1914 1926 2002 2006 2083 2100 2166 2190 2262 2271 2344 2368 2432 2455 2517 2549 2605 2632 2689 2718 2788 2803 2870 2898 2967 2975 3049 3069 3138 3153 3230 3251 3309 3342 3403 3426 3490 3521 3580 3609 3676 3693 3758 3792 3856 3876 3948 3968 4034 4059 4117 4155 4218 4239 4306 4323 4396 4424 4...
58
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
3 14 19 20
5 15 16 17 18 21
1 22
1 23
1 24
5 25 366 367 368 369
5 26 363 364 365 370
7 27 362 371 372 373 4094 4095
19 28 29 30 31 32 337 338 339 340 355 356 357 358 361 374 4091 4092 4093 4096
17 33 104 105 336 341 354 359 360 375 3566 3567 4090 4097 10448 10449 10648 10649
51 34 103 106 107 108 111 112 115 116 335 342 343 344 351 352 353 376 1073 1074 2217 2218 2577 2578 3565 3568 3569 3570 4079 4080 4089 4098 5213 5214 58...
Checker comment
ok Participant and Jury found the correct answer


58
Time: 140 ms, memory: 1984 KB
Verdict: OK
Input
0010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000100000000000000000000000000000000100000000000000000000000010000000000000000000000000000010000000000000000000000001000000000000010000000000100000010010000010000001000100100000000000000000000100000000010001000000000000000010000100000010010000001000000000000100000000000000000000000001000000000000000000000000000100010000100000000000000100001000000000011000000...
Participant's output
3232
101 1 3 4 155 156 1106 1107 3332 3335 6383 6399 9671 9695 13023 13029 16428 16458 19852 19914 23359 23398 26851 26912 30407 30413 33991 34006 37612 37690 41323 41405 45091 45140 48878 48901 52669 52712 56444 56521 60255 60325 64092 64123 67921 68033 71899 71929 75841 75869 79756 79834 83752 83840 87885 87920 91987 92093 96149 96208 100353 100378 104568 104670 108900 108917 113217 113262 117655 117685 122193 122233 126771 126837 131385 131403 136025 136061 140750 140816 145545 145644 150441 150495 155...
3232
1 1
3 2 3 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 86
1 87...
Checker comment
ok Participant and Jury found the correct answer


59
Time: 124 ms, memory: 2368 KB
Verdict: OK
Input
0010010001000100010101000110010100001001000110010000010110001000100010000001000000010010000100100001001010100010010001010000100101000000010001001001000010001000000100000101000101000010000101001001001000010000001000100001000010010100000100000010010000010000001000100100010000010000100100000001000100010100000010001000001001000001010010000000100001000100101000010001000101000001000010100010000010100100100100000001000010100001010000001000100100010000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
308
661 1 3 4 10 11 26 28 57 59 142 143 412 413 729 1034 1342 1647 1955 2260 2568 2873 3181 3486 3794 4099 4407 4712 5020 5325 5633 5938 6246 6551 6859 7164 7472 7777 8085 8390 8698 9003 9311 9616 9924 10229 10537 10842 11150 11455 11763 12068 12376 12681 12989 13294 13602 13907 14215 14520 14828 15133 15441 15746 16054 16359 16667 16972 17280 17585 17893 18198 18506 18811 19119 19424 19732 20037 20345 20650 20958 21263 21571 21876 22184 22489 23102 23407 23715 24020 24328 24633 24941 25246 25554 25859 26...
308
1 1
3 2 3 4
3 5 6 7
655 8 835 836 1445 1446 2055 2056 2665 2666 3275 3276 3885 3886 4495 4496 5105 5106 5715 5716 6325 6326 6935 6936 7545 7546 8155 8156 8765 8766 9375 9376 9985 9986 10595 10596 11205 11206 11815 11816 12425 12426 13035 13036 13645 13646 14255 14256 14865 14866 15475 15476 16085 16086 16695 16696 17305 17306 17915 17916 18525 18526 19135 19136 19745 19746 20355 20356 20965 20966 21575 21576 22185 22186 22795 22796 23405 23406 24015 24016 24625 24626 25235 25236 25845 25846 26455 2...
Checker comment
ok Participant and Jury found the correct answer


60
Time: 155 ms, memory: 2044 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000001000000000000000000000000000000000000100000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000001000000000000000010000100000000000000000000000000000001010000000000000000000000000000000000010000000000000000000000000010101000000001010000100000000001000...
Participant's output
8286
33 1 95 96 1422 1423 6107 6112 14352 14353 24512 24519 36108 36110 50613 50619 67185 67191 83757 83763 100329 100335 116901 116907 133473 133479 150045 150051 166617 166623 183189 183195 199761 199767
31 2 158 159 1861 1862 7154 7163 15792 15795 26208 26223 38195 38196 52921 52927 69493 69499 86065 86071 102637 102643 119209 119215 135781 135787 152353 152359 168925 168931 185497 185503
31 3 196 197 2049 2051 7507 7511 16207 16211 26694 26725 38825 38830 53638 53644 70210 70216 86782 86788 103354 1...
8286
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 86...
Checker comment
ok Participant and Jury found the correct answer


61
Time: 31 ms, memory: 488 KB
Verdict: OK
Input
1111000011100001001000001011011110111101001111101101110100011111111010110110000100001011010111100000111100110000001111010000100111010101011111010001100110010111101001100100111110100101011100110111111000110111100110011101111111101001101111101010001111001010111100100110010111111010110101110010000101000111100101100010011001111110110010101010111110011100100111100110101011110000000010010101011111000011110100100000110011101110000111100111001000010100110011001001001001010111001100110011110000000010100110000010111...
Participant's output
-1

-1

Checker comment
ok Participant and Jury didn't find the answer


62
Time: 140 ms, memory: 2432 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
10002
189999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 1...
10002
189999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 1...
Checker comment
ok Participant and Jury found the correct answer


63
Time: 202 ms, memory: 3092 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
50002
149999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 1...
50002
149999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 1...
Checker comment
ok Participant and Jury found the correct answer


64
Time: 327 ms, memory: 4392 KB
Verdict: OK
Input
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...
Participant's output
100002
99999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 1...
100002
99999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 1...
Checker comment
ok Participant and Jury found the correct answer


65
Time: 140 ms, memory: 2220 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
10002
21 1 10003 10004 30007 30008 50011 50012 70015 70016 90019 90020 110023 110024 130027 130028 150031 150032 170035 170036 190039 190040
21 2 10005 10006 30009 30010 50013 50014 70017 70018 90021 90022 110025 110026 130029 130030 150033 150034 170037 170038 190041 190042
21 3 10007 10008 30011 30012 50015 50016 70019 70020 90023 90024 110027 110028 130031 130032 150035 150036 170039 170040 190043 190044
21 4 10009 10010 30013 30014 50017 50018 70021 70022 90025 90026 110029 110030 130033 130034 150...
10002
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 8...
Checker comment
ok Participant and Jury found the correct answer


66
Time: 217 ms, memory: 3056 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
50002
5 1 50003 50004 150007 150008
5 2 50005 50006 150009 150010
5 3 50007 50008 150011 150012
5 4 50009 50010 150013 150014
5 5 50011 50012 150015 150016
5 6 50013 50014 150017 150018
5 7 50015 50016 150019 150020
5 8 50017 50018 150021 150022
5 9 50019 50020 150023 150024
5 10 50021 50022 150025 150026
5 11 50023 50024 150027 150028
5 12 50025 50026 150029 150030
5 13 50027 50028 150031 150032
5 14 50029 50030 150033 150034
5 15 50031 50032 150035 150036
5 16 50033 50034 150037 150038
5...
50002
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 8...
Checker comment
ok Participant and Jury found the correct answer


67
Time: 327 ms, memory: 4232 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
100002
3 1 100003 100004
3 2 100005 100006
3 3 100007 100008
3 4 100009 100010
3 5 100011 100012
3 6 100013 100014
3 7 100015 100016
3 8 100017 100018
3 9 100019 100020
3 10 100021 100022
3 11 100023 100024
3 12 100025 100026
3 13 100027 100028
3 14 100029 100030
3 15 100031 100032
3 16 100033 100034
3 17 100035 100036
3 18 100037 100038
3 19 100039 100040
3 20 100041 100042
3 21 100043 100044
3 22 100045 100046
3 23 100047 100048
3 24 100049 100050
3 25 100051 100052
3 26 100053 ...
100002
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 ...
Checker comment
ok Participant and Jury found the correct answer


68
Time: 311 ms, memory: 4188 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
93334
5 1 40001 40002 160001 160002
5 2 40004 40005 160007 160008
5 3 40007 40008 160013 160014
5 4 40010 40011 160019 160020
5 5 40013 40014 160025 160026
5 6 40016 40017 160031 160032
5 7 40019 40020 160037 160038
5 8 40022 40023 160043 160044
5 9 40025 40026 160049 160050
5 10 40028 40029 160055 160056
5 11 40031 40032 160061 160062
5 12 40034 40035 160067 160068
5 13 40037 40038 160073 160074
5 14 40040 40041 160079 160080
5 15 40043 40044 160085 160086
5 16 40046 40047 160091 160092
5...
93334
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 8...
Checker comment
ok Participant and Jury found the correct answer


69
Time: 374 ms, memory: 7804 KB
Verdict: OK
Input
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Participant's output
133335
3 1 100001 100002
3 2 100004 100005
3 3 100007 100008
3 4 100010 100011
3 5 100013 100014
3 6 100016 100017
3 7 100019 100020
3 8 100022 100023
3 9 100025 100026
3 10 100028 100029
3 11 100031 100032
3 12 100034 100035
3 13 100037 100038
3 14 100040 100041
3 15 100043 100044
3 16 100046 100047
3 17 100049 100050
3 18 100052 100053
3 19 100055 100056
3 20 100058 100059
3 21 100061 100062
3 22 100064 100065
3 23 100067 100068
3 24 100070 100071
3 25 100073 100074
3 26 100076 ...
133335
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85
1 ...
Checker comment
ok Participant and Jury found the correct answer


70
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010

Participant's output
1
245 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 ...
1
245 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 ...
Checker comment
ok Participant and Jury found the correct answer


71
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
0010011100000000

Participant's output
8
5 1 3 4 7 10
3 2 6 9
3 5 8 11
1 12
1 13
1 14
1 15
1 16

8
3 1 8 9
5 2 3 4 7 10
3 5 6 11
1 12
1 13
1 14
1 15
1 16

Checker comment
ok Participant and Jury found the correct answer