QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#527938#4204. Guessing CircleHuangHanShengAC ✓2928ms5796kbC++201.7kb2024-08-22 23:11:152024-08-22 23:11:16

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3624kb

input:

3
1 2 3

output:

1
2
3

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

3
1 1 2

output:

none

result:

ok single line: 'none'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

4
1 2 1 3

output:

none

result:

ok single line: 'none'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3824kb

input:

5
1 2 3 4 1

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 1ms
memory: 3780kb

input:

7
5 2 1 7 3 6 5

output:

2
5
6

result:

ok 3 lines

Test #6:

score: 0
Accepted
time: 1ms
memory: 3848kb

input:

7
3 7 7 2 6 4 1

output:

2
3
7

result:

ok 3 lines

Test #7:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

7
7 2 5 1 6 3 3

output:

3
6
7

result:

ok 3 lines

Test #8:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

7
5 5 4 2 2 3 1

output:

4

result:

ok single line: '4'

Test #9:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

7
5 4 3 2 2 6 1

output:

2
3
6

result:

ok 3 lines

Test #10:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

11
1 6 2 3 6 4 7 4 8 1 1

output:

1
8

result:

ok 2 lines

Test #11:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

11
11 8 3 3 9 7 5 2 5 1 8

output:

3

result:

ok single line: '3'

Test #12:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

11
7 2 7 1 1 10 10 8 11 5 4

output:

1
10

result:

ok 2 lines

Test #13:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

11
1 9 8 5 2 2 6 4 11 10 9

output:

2
5
8
11

result:

ok 4 lines

Test #14:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

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

output:

5

result:

ok single line: '5'

Test #15:

score: 0
Accepted
time: 1ms
memory: 3888kb

input:

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

output:

4
7
11
16
30
40
46
48
54
57
58
62
67
68
77
81
86
93
94
99
307
316
710

result:

ok 23 lines

Test #16:

score: 0
Accepted
time: 1ms
memory: 3864kb

input:

101
25 14 6 89 57 4 375 9 469 52 92 11 5 8 60 42 32 95 199 86 800 96 53 16 813 73 81 2 48 82 12 55 49 41 94 13 78 38 46 39 31 19 76 93 1 47 40 50 83 80 70 101 64 3 258 45 58 66 68 61 7 37 28 29 26 85 30 67 24 90 56 17 20 22 10 72 853 77 63 74 51 130 34 27 84 44 99 418 54 75 91 402 100 36 18 71 69 98...

output:

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

result:

ok 101 lines

Test #17:

score: 0
Accepted
time: 1ms
memory: 3644kb

input:

101
79 97 37 35 85 19 847 32 2 95 28 89 92 63 87 651 2 62 69 3 51 13 48 14 11 641 54 1 83 15 29 75 841 98 91 505 20 5 50 80 53 30 72 65 7 12 93 23 99 25 66 8 24 271 42 73 27 77 47 81 86 44 9 71 68 18 43 78 70 82 55 17 483 36 4 76 74 16 10 947 41 26 6 56 94 67 34 22 33 101 61 58 46 40 52 57 45 710 31...

output:

1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
22
23
24
25
26
27
29
30
31
32
33
34
35
36
37
40
41
42
44
45
46
48
49
50
51
52
53
54
55
56
57
58
61
62
64
65
66
67
68
69
70
71
72
73
74
75
76
77
79
80
82
83
85
86
91
93
94
97
98
99
101
271
483
505
641
710
841
847
947

result:

ok 88 lines

Test #18:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

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

output:

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

result:

ok 101 lines

Test #19:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

101
94 87 1 99 86 17 27 84 53 62 117 75 36 831 85 41 10 549 64 24 34 14 73 20 26 66 70 8 31 96 20 16 45 74 78 47 2 43 512 80 90 81 225 88 48 44 6 40 25 72 51 13 91 35 3 63 54 77 92 101 46 15 50 89 57 4 32 68 987 974 252 79 9 19 93 11 76 29 12 55 59 23 21 98 5 58 88 33 7 37 22 38 83 100 95 18 71 52 4...

output:

1
7
10
14
16
17
18
22
24
27
33
34
36
37
38
41
42
43
45
49
52
53
61
62
64
71
73
74
75
78
80
81
83
84
85
86
87
90
94
99
117
225
512
549
831

result:

ok 45 lines

Test #20:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

101
68 46 958 27 368 44 80 55 6 86 43 48 75 78 89 84 49 18 19 4 32 643 618 42 72 37 71 26 52 97 282 65 82 759 38 5 67 93 81 45 16 2 14 53 327 25 30 9 7 64 3 28 41 7 54 33 11 100 63 40 69 85 87 88 56 17 76 90 39 186 98 57 83 20 77 35 29 12 34 95 91 79 66 21 13 24 99 61 10 36 101 59 58 70 1 92 73 244 ...

output:

1
2
4
5
6
9
10
11
12
13
14
16
17
18
19
20
21
24
25
26
29
30
32
33
34
35
36
37
38
39
40
42
43
44
45
46
48
49
52
53
54
55
56
57
58
59
61
63
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
95
97
98
99
100
101
186
244
282
327
368
618
643
759

result:

ok 91 lines

Test #21:

score: 0
Accepted
time: 4ms
memory: 3692kb

input:

999
179 590 263 661 817 730 23 977 513 223 660 208 230 559 520 765 44 992 672 696 847 759 81 576 464 282 656 625 479 85 813 302 377 767 983 394 234 450 532 923 439 329 867 644 885 829 543 693 622 436 815 42 479 970 623 43 477 687 405 872 825 821 692 985 442 900 776 526 796 843 447 486 446 996 9 727 ...

output:

1
8
12
17
20
22
26
30
37
46
61
76
77
98
102
121
128
144
159
161
162
175
181
191
221
226
229
242
246
250
254
271
276
301
305
308
316
321
350
365
368
382
407
408
423
478
498
510
531
575
591
602
628
642
643
647
650
684
686
705
715
738
739
789
797
800
803
804
806
819
831
835
876
896
901
902
914
932
944
...

result:

ok 84 lines

Test #22:

score: 0
Accepted
time: 3ms
memory: 3692kb

input:

999
251 875 565 996 482 895 335 371 378 556 430 63 999 293 302 61 375 429 496 555 135 695 299 650 559 258 36 332 76 397 932 166 805 474 822 265 638 642 394 881 831 70 525 748 211 137 516 600 841 314 918 931 27 156 487 856 709 442 933 963 78 476 481 194 837 515 883 485 622 140 542 539 14 859 225 934 ...

output:

35
125
414
441
529
531
541
651
735
737
773
847
880

result:

ok 13 lines

Test #23:

score: 0
Accepted
time: 3ms
memory: 3752kb

input:

999
121 582 247 965 227 904 718 829 694 595 312 801 991 195 544 241 259 895 747 338 319 42 383 142 964 417 857 370 492 681 863 398 680 678 264 953 622 20 831 579 320 305 91 327 369 603 750 900 359 425 339 510 934 475 436 634 388 806 345 447 228 384 271 703 888 183 880 752 716 529 543 11 699 230 157 ...

output:

25
44
218
251
261
298
402
438
454
578
596
627
647
671
735
851
856
873
891
949
992
995

result:

ok 22 lines

Test #24:

score: 0
Accepted
time: 4ms
memory: 3788kb

input:

999
425 430 610 445 152 919 372 614 948 584 987 12 920 106 253 954 719 223 553 369 930 34 708 151 727 951 941 694 578 313 297 503 513 567 248 511 837 900 543 205 373 410 165 577 886 657 382 126 697 994 575 398 2 414 870 57 170 444 79 907 480 318 728 145 361 59 980 42 683 623 800 860 199 149 962 191 ...

output:

1
29
37
60
72
80
133
136
141
181
204
220
262
265
291
299
371
387
493
499
523
574
603
609
643
682
722
731
742
756
780
782
783
799
887
893
897
898
923
944
963

result:

ok 41 lines

Test #25:

score: 0
Accepted
time: 3ms
memory: 3976kb

input:

999
920 628 220 337 274 656 273 480 131 464 828 528 214 697 297 580 728 804 962 315 613 608 575 451 50 723 712 648 904 17 698 844 491 182 211 757 34 921 863 359 923 737 711 758 859 248 832 952 703 158 474 92 363 930 752 280 742 76 373 998 986 486 407 333 938 774 366 36 549 185 95 941 605 378 9 381 6...

output:

11
13
40
59
87
123
130
134
180
184
199
206
207
221
222
228
242
255
305
318
322
338
350
380
410
415
423
426
436
440
441
445
448
520
529
534
561
567
568
587
617
630
633
652
668
677
680
696
721
741
776
801
805
819
821
824
834
889
895
900
903
995
999

result:

ok 63 lines

Test #26:

score: 0
Accepted
time: 3ms
memory: 3916kb

input:

999
928 311 894 148 259 388 835 426 797 249 641 866 188 844 934 545 177 284 244 134 998 579 810 295 500 380 174 347 811 107 255 672 178 141 41 917 586 109 644 487 851 874 841 583 834 464 701 570 271 761 699 50 157 384 473 877 779 30 968 758 681 247 37 226 117 306 379 782 147 814 10 986 491 765 336 5...

output:

99
158
243
328
354
383
390
462
474
593
612
619
658
669
684
711
768
923
937
944
949
963
978
989

result:

ok 24 lines

Test #27:

score: 0
Accepted
time: 4ms
memory: 3720kb

input:

999
370 92 225 439 217 273 351 865 881 837 451 226 838 274 990 957 506 601 914 821 358 975 15 640 643 915 871 572 229 314 282 181 18 888 5 511 741 268 432 764 634 438 778 994 350 257 34 285 42 279 240 68 891 513 26 929 529 593 802 159 128 295 445 354 894 810 30 139 970 972 365 347 522 942 787 429 79...

output:

20
24
61
80
143
155
169
180
186
195
208
230
265
294
317
327
340
355
378
383
399
403
413
447
448
454
460
486
487
498
501
539
541
580
681
708
712
736
751
754
756
762
791
845
846
848
874
882
913
916
958
992

result:

ok 52 lines

Test #28:

score: 0
Accepted
time: 4ms
memory: 3696kb

input:

999
245 966 449 112 963 199 398 814 858 137 272 344 727 907 97 662 293 232 600 241 201 291 111 870 173 908 781 235 875 705 789 280 940 323 634 210 292 131 95 675 635 732 10 161 590 475 546 190 678 243 611 309 172 443 925 384 694 527 751 636 742 400 554 322 222 533 231 833 706 593 373 386 731 885 880...

output:

6
10
19
35
39
54
64
67
68
84
91
95
96
97
111
126
127
129
131
137
150
161
163
172
188
190
198
199
201
210
216
221
222
231
234
235
241
243
250
251
271
272
274
280
284
285
290
291
292
293
298
309
319
322
323
342
343
344
345
357
373
377
384
386
388
389
390
398
400
401
441
443
446
450
475
476
478
481
498...

result:

ok 159 lines

Test #29:

score: 0
Accepted
time: 5ms
memory: 3764kb

input:

999
258 635 254 523 815 503 867 181 307 390 655 177 17 377 856 473 176 342 261 966 446 706 223 748 996 275 897 398 862 114 393 96 296 222 999 979 267 977 987 614 599 386 951 150 971 890 472 517 719 956 202 955 204 667 456 839 64 265 747 676 790 225 670 761 724 324 496 536 260 892 738 478 257 565 583...

output:

4
6
11
18
49
50
56
64
78
81
83
96
106
108
123
150
164
166
179
202
204
222
225
232
233
241
242
243
257
260
265
267
280
282
295
296
301
305
317
324
339
346
351
366
368
373
386
393
402
409
416
427
445
449
456
461
470
472
478
496
517
536
545
553
554
565
574
576
578
583
584
595
599
610
614
622
660
667
67...

result:

ok 131 lines

Test #30:

score: 0
Accepted
time: 4ms
memory: 3948kb

input:

999
31 156 400 182 923 223 471 968 196 159 781 559 351 692 356 756 975 551 484 814 580 734 201 938 432 41 37 60 515 48 567 846 385 206 514 237 177 97 937 988 254 904 422 111 778 880 635 353 464 382 221 946 582 823 23 204 935 363 619 404 679 411 203 318 243 917 952 468 354 100 840 314 214 883 874 730...

output:

12
39
61
63
65
83
150
160
234
274
275
279
296
298
306
341
433
439
444
466
508
555
562
590
648
659
670
685
691
693
699
700
709
715
788
834
873
876
894
956
964

result:

ok 41 lines

Test #31:

score: 0
Accepted
time: 6ms
memory: 3632kb

input:

999
702 460 571 732 524 766 213 996 561 86 335 520 741 697 263 330 297 860 294 960 196 675 887 480 240 407 451 276 340 388 858 277 351 533 495 298 211 974 228 756 56 703 448 673 151 395 82 652 734 249 128 639 421 369 706 978 809 487 969 981 836 931 750 791 647 832 67 550 210 694 799 394 540 414 914 ...

output:

13
57
94
106
175
187
199
252
303
492
504
517
528
541
620
633
745
746
767
780
878
935
947
959
987

result:

ok 25 lines

Test #32:

score: 0
Accepted
time: 6ms
memory: 3764kb

input:

999
773 515 376 107 635 569 405 235 605 175 139 716 212 349 565 299 888 267 579 68 959 590 85 43 490 916 952 669 728 142 672 187 378 670 196 955 610 612 522 920 284 631 661 120 534 46 292 93 540 241 739 840 385 219 530 192 532 836 654 873 254 273 644 265 479 545 734 359 844 898 498 580 884 775 74 46...

output:

2
4
6
10
12
13
19
23
30
34
35
49
51
58
69
73
75
76
96
101
102
106
113
119
125
129
149
151
154
159
165
166
167
191
205
206
213
222
236
243
261
271
285
295
312
316
323
325
339
358
366
381
420
422
430
438
439
451
461
464
477
494
503
512
528
544
553
554
557
558
562
564
568
575
576
602
618
624
625
629
65...

result:

ok 127 lines

Test #33:

score: 0
Accepted
time: 6ms
memory: 3632kb

input:

999
569 881 999 317 639 193 953 215 997 703 874 329 656 390 935 868 8 572 815 576 706 597 492 70 425 870 701 409 51 594 783 93 985 900 407 456 186 104 920 771 207 222 359 162 591 697 35 48 420 69 945 542 845 611 539 423 358 857 204 549 437 535 890 748 5 865 37 513 312 547 730 918 936 880 151 673 106...

output:

9
12
40
52
59
76
108
119
120
130
142
146
177
185
199
201
219
228
234
237
243
244
246
253
257
266
268
274
279
286
287
305
307
327
340
342
354
356
360
370
391
394
397
406
411
424
435
442
445
453
469
507
515
519
530
563
623
632
650
655
669
681
686
694
699
712
715
765
778
785
787
796
808
842
856
859
871...

result:

ok 86 lines

Test #34:

score: 0
Accepted
time: 4ms
memory: 3684kb

input:

999
601 413 746 794 248 472 602 671 629 681 349 59 356 317 217 787 100 391 327 541 757 210 238 763 679 615 750 751 684 749 562 368 48 133 924 699 833 423 711 583 88 221 529 219 850 113 105 901 431 393 657 555 315 683 184 165 881 799 277 310 42 38 785 503 782 825 806 807 395 252 359 704 626 68 75 634...

output:

2
5
8
73
140
262
282
313
353
365
484
488
527
556
568
589
603
625
660
674
692
741
755
762
770
796
862
863
878
885
908
921
944

result:

ok 33 lines

Test #35:

score: 0
Accepted
time: 5ms
memory: 3696kb

input:

1000
272 544 120 509 674 697 624 171 831 47 266 387 504 101 112 566 619 969 735 102 812 219 443 364 587 594 988 912 526 901 752 363 250 535 369 715 218 903 222 670 686 982 829 705 862 721 878 928 65 471 798 692 392 72 667 224 213 199 518 110 71 859 724 830 795 29 373 366 683 872 732 418 178 631 426 ...

output:

none

result:

ok single line: 'none'

Test #36:

score: 0
Accepted
time: 14ms
memory: 3692kb

input:

999
790 782 672 896 960 906 773 267 439 241 246 99 783 992 132 152 340 436 969 723 755 195 777 317 979 658 950 912 767 431 701 947 550 588 186 612 847 654 489 368 770 551 360 676 545 684 33 694 83 5 376 274 975 586 344 619 768 589 216 328 542 249 931 314 626 478 94 591 367 911 235 628 272 255 638 69...

output:

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
...

result:

ok 999 lines

Test #37:

score: 0
Accepted
time: 0ms
memory: 3600kb

input:

999
3 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 ...

output:

none

result:

ok single line: 'none'

Test #38:

score: 0
Accepted
time: 162ms
memory: 4212kb

input:

4999
4860 4214 3194 4804 1770 3547 4047 2703 2810 3686 619 4337 595 2677 342 4402 524 576 3014 1426 1473 3208 622 1577 727 2733 4874 2684 2400 2260 2363 79 4918 4213 669 247 1204 1876 3544 1808 1241 4768 3784 2532 4905 319 3555 4565 356 3469 4931 2199 3701 4067 753 37 1037 4667 477 4220 2751 3077 41...

output:

1
2
5
22
24
26
32
38
41
43
48
56
59
64
70
78
81
86
87
89
93
100
103
110
120
121
122
123
127
128
133
143
146
150
155
156
158
165
172
173
178
181
185
186
192
196
197
201
205
208
213
226
228
230
234
238
248
250
254
255
261
265
266
268
275
279
284
290
301
303
304
305
308
311
313
316
318
325
327
330
333
...

result:

ok 1200 lines

Test #39:

score: 0
Accepted
time: 99ms
memory: 4504kb

input:

4999
440 4516 4590 3582 1279 255 1387 2370 2835 3089 537 1654 3317 3320 50 2687 4749 1902 2366 2162 3414 226 1294 3408 3015 3692 212 583 1106 2817 3248 1972 2647 3246 3237 1516 3569 3536 4130 2786 1237 2260 3997 4548 290 4301 4927 3250 4246 599 2667 4777 4956 3860 2660 3857 4448 4111 1745 1236 1785 ...

output:

none

result:

ok single line: 'none'

Test #40:

score: 0
Accepted
time: 215ms
memory: 4276kb

input:

4999
1742 2046 2799 1266 1406 1740 1545 166 3914 2828 879 742 2027 4346 2543 3704 4834 2255 3857 3787 1241 50 3401 2423 3753 4140 2978 725 3606 2178 4712 3206 46 1116 1128 4940 4128 359 4291 938 3272 3251 1336 3147 4373 3478 4819 74 4360 960 4086 4762 423 1838 4545 2892 2193 419 437 3886 1766 70 722...

output:

1
4
8
16
18
19
21
22
23
30
38
41
43
44
49
52
56
58
59
62
63
67
69
72
76
90
98
99
100
103
109
113
115
117
118
120
127
130
134
141
142
144
146
149
151
155
158
174
175
178
186
187
188
197
199
201
202
214
217
220
222
223
230
231
234
237
243
245
249
252
254
255
256
258
259
260
265
270
274
275
278
279
281...

result:

ok 1708 lines

Test #41:

score: 0
Accepted
time: 98ms
memory: 4160kb

input:

4999
1897 734 2163 1832 1637 3494 1450 1533 2667 2081 1610 828 2493 2662 2580 2863 2601 4457 1828 2489 2673 2035 3311 265 3892 2850 2958 429 3228 621 4131 4185 4676 610 2361 1693 2485 4920 4076 636 2559 416 2279 1840 951 1381 2462 4740 4524 4514 1525 2144 1930 1318 2654 3462 3271 2191 4198 3656 403 ...

output:

none

result:

ok single line: 'none'

Test #42:

score: 0
Accepted
time: 94ms
memory: 4208kb

input:

4999
3728 3384 2308 1646 179 1834 4100 4857 243 774 3994 325 3420 1710 1010 1244 1550 846 1286 3530 4614 3048 3199 1463 1091 4524 2752 3279 2381 2218 1783 2815 2455 452 3808 3736 2202 3379 837 4909 4348 3683 4196 4230 4314 2631 3394 4367 3565 1493 273 3952 3607 1126 2377 3645 473 1054 167 2788 4222 ...

output:

4
24
47
58
65
77
99
103
110
112
124
135
155
157
158
177
190
213
233
237
255
260
295
296
330
361
385
408
409
439
476
513
523
541
575
597
602
632
694
698
712
719
729
743
766
795
805
807
815
853
891
895
947
971
975
976
999
1004
1011
1036
1041
1057
1066
1069
1076
1085
1096
1098
1129
1137
1139
1153
1214
...

result:

ok 283 lines

Test #43:

score: 0
Accepted
time: 50ms
memory: 4156kb

input:

4999
620 233 4976 4702 2666 2658 2236 2527 1990 1922 4022 536 2260 165 1417 3385 1534 1926 1254 4421 3469 585 1175 107 2806 2 1993 4126 3190 848 3658 370 3001 1464 906 2189 4567 2673 3676 1484 2922 4807 4565 535 4908 702 3914 1608 4136 3049 821 3074 4507 4374 2110 251 337 706 282 3852 185 271 3827 1...

output:

none

result:

ok single line: 'none'

Test #44:

score: 0
Accepted
time: 126ms
memory: 4272kb

input:

4999
4646 3843 1923 2633 2676 3531 3060 4883 206 3803 818 3163 2406 4134 2122 4909 4035 375 1861 2436 3048 1057 4557 4705 1737 3893 1329 402 2907 4326 4922 2053 2151 4769 2313 3710 4113 787 2914 2388 2925 2167 867 4966 1161 2896 76 399 780 4743 1027 2169 4031 3434 4281 1361 3513 4846 3739 4900 3566 ...

output:

none

result:

ok single line: 'none'

Test #45:

score: 0
Accepted
time: 195ms
memory: 4212kb

input:

4999
2628 3249 4332 938 3717 271 2423 945 2755 2338 3564 758 3869 4193 4020 54 1692 3122 4598 792 372 4405 1715 4443 328 1644 1396 790 3234 1347 4899 2455 4481 2873 27 1997 3809 3557 2454 2918 2609 3886 778 1679 1178 3424 3003 3540 4455 498 1020 2838 2362 4248 2163 2936 968 1101 4369 868 4607 4771 1...

output:

1
6
18
39
45
46
56
65
67
73
74
83
89
97
101
115
121
122
125
131
134
139
143
152
170
173
176
177
185
186
190
194
197
203
208
212
213
214
220
221
226
236
249
258
269
270
273
280
296
306
316
318
320
322
326
327
330
332
333
337
343
345
351
354
359
366
384
386
388
393
395
401
418
419
427
431
452
458
459
...

result:

ok 832 lines

Test #46:

score: 0
Accepted
time: 1ms
memory: 4296kb

input:

5000
2501 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 ...

output:

none

result:

ok single line: 'none'

Test #47:

score: 0
Accepted
time: 533ms
memory: 4920kb

input:

9999
5054 1223 5490 550 6386 1116 1547 3457 8515 4066 9917 2021 6465 2451 8209 3680 7728 448 5302 5832 867 3247 1961 4032 4761 8547 3412 2498 7571 9288 7669 2495 7746 8810 3491 662 2100 6818 1407 3784 938 2385 3668 1512 6829 2478 6458 7412 6699 2737 7882 7013 5509 9258 3622 3263 3564 8754 2299 3550 ...

output:

none

result:

ok single line: 'none'

Test #48:

score: 0
Accepted
time: 376ms
memory: 5108kb

input:

9999
7208 9946 4510 6479 1339 3117 9605 1834 3417 1631 8889 4116 5718 311 8186 4213 8656 5842 2086 1282 3683 7622 9372 68 5272 396 3805 1981 2563 9992 5944 4446 8028 7563 5802 6316 5646 8890 1844 2659 6846 9643 1767 5922 8087 4981 421 9710 8620 887 5982 9268 1309 42 2226 5351 8619 2595 7212 183 2056...

output:

none

result:

ok single line: 'none'

Test #49:

score: 0
Accepted
time: 2ms
memory: 4620kb

input:

10000
5001 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...

output:

none

result:

ok single line: 'none'

Test #50:

score: 0
Accepted
time: 0ms
memory: 4924kb

input:

9999
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...

output:

none

result:

ok single line: 'none'

Test #51:

score: 0
Accepted
time: 2ms
memory: 4908kb

input:

9999
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...

output:

none

result:

ok single line: 'none'

Test #52:

score: 0
Accepted
time: 2ms
memory: 4852kb

input:

9999
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...

output:

none

result:

ok single line: 'none'

Test #53:

score: 0
Accepted
time: 0ms
memory: 4888kb

input:

9999
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...

output:

none

result:

ok single line: 'none'

Test #54:

score: 0
Accepted
time: 552ms
memory: 5796kb

input:

14999
9428 11077 4751 1003 6567 10760 6598 2258 12641 5527 5985 8805 13304 2363 9973 9695 5755 4017 13448 14787 1190 10860 14950 9788 8020 11657 4536 1041 13509 3475 13298 8503 12826 7834 9479 781 4069 7915 7489 1104 9422 8057 3373 1240 11991 13118 4199 7069 219 1078 7740 13747 10501 2603 3425 10245...

output:

none

result:

ok single line: 'none'

Test #55:

score: 0
Accepted
time: 944ms
memory: 5752kb

input:

14999
11459 10393 899 6795 8496 14560 7789 1709 9048 14814 12232 7559 4409 1174 6520 7494 10054 13246 12763 787 10318 1057 2984 3794 13122 11863 5466 7570 10510 13741 1606 2985 9863 970 7894 1937 13114 4612 14040 5527 9544 7798 11102 1094 3728 13264 8378 4769 3511 3991 9050 11670 7635 8741 7092 8129...

output:

4
31
45
145
184
214
446
466
654
663
665
692
772
793
860
873
914
1104
1125
1152
1203
1248
1283
1286
1423
1436
1468
1477
1560
1607
1622
1661
1816
1855
1885
2042
2052
2142
2211
2231
2331
2352
2426
2545
2649
2710
2774
2776
2798
2833
2859
2889
2902
2990
3080
3202
3236
3315
3371
3399
3462
3492
3506
3675
3...

result:

ok 298 lines

Test #56:

score: 0
Accepted
time: 1606ms
memory: 5492kb

input:

14999
687 6180 7973 2305 3419 3049 7116 14421 2866 4390 5229 8658 14285 5440 5423 6069 4773 4578 5976 4184 7486 13018 4437 757 13014 43 3967 13804 3655 10202 10401 2091 9622 5782 13647 8101 8699 13836 11524 9862 3538 5021 7007 4398 12781 4024 13570 3108 13052 13327 14662 5386 6324 3949 9700 10983 21...

output:

17
18
29
38
47
51
56
59
72
82
85
93
103
115
126
127
131
136
160
162
165
168
170
180
189
190
200
219
243
245
262
264
270
278
283
285
295
299
332
347
348
377
387
404
410
432
437
439
444
445
446
451
460
463
479
480
490
505
511
518
523
554
571
588
590
592
594
598
605
617
626
629
645
648
653
663
686
691
...

result:

ok 1623 lines

Test #57:

score: 0
Accepted
time: 3ms
memory: 5480kb

input:

14999
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 10...

output:

none

result:

ok single line: 'none'

Test #58:

score: 0
Accepted
time: 0ms
memory: 5428kb

input:

14999
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 10...

output:

none

result:

ok single line: 'none'

Test #59:

score: 0
Accepted
time: 3ms
memory: 5492kb

input:

14999
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 10...

output:

none

result:

ok single line: 'none'

Test #60:

score: 0
Accepted
time: 3ms
memory: 5488kb

input:

14999
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 10...

output:

none

result:

ok single line: 'none'

Test #61:

score: 0
Accepted
time: 970ms
memory: 5556kb

input:

15000
14036 2917 11459 3257 3127 9657 10436 11843 11351 16 2117 8995 8164 3432 2458 13300 1858 12819 2177 12260 11218 13841 14434 11839 11526 1209 1248 11411 4348 8876 1243 14083 7589 6684 1850 11916 9210 11497 12860 13556 11076 7684 6554 5667 5158 12400 7947 4314 1732 13733 3155 14692 2579 13851 20...

output:

none

result:

ok single line: 'none'

Test #62:

score: 0
Accepted
time: 2928ms
memory: 5500kb

input:

14999
9797 14690 12635 4554 8200 1699 13539 10764 10630 5909 12658 4143 9544 13666 13066 10041 3499 14803 826 714 11805 8980 5301 13 4753 3697 8703 11524 6232 14339 14360 14177 6547 8588 14206 364 2625 4158 6650 5558 10414 1693 5508 2543 10328 13083 5823 12498 14669 3848 11779 14037 6243 510 8358 51...

output:

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
...

result:

ok 14999 lines

Test #63:

score: 0
Accepted
time: 2125ms
memory: 5796kb

input:

14999
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 10...

output:

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
...

result:

ok 14995 lines

Test #64:

score: 0
Accepted
time: 2121ms
memory: 5756kb

input:

14999
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 10...

output:

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
...

result:

ok 14995 lines

Test #65:

score: 0
Accepted
time: 2618ms
memory: 5492kb

input:

14999
4728 8265 10703 6725 14724 264 9726 4196 9091 4176 4736 13814 6921 8443 12840 6760 14253 2101 7374 53 4782 10571 2852 6726 597 3078 10369 12788 14486 7813 13947 7327 11412 6799 13184 4224 14025 9907 6835 9722 1589 12090 2653 14471 7775 5323 11531 98 912 907 12734 7895 9192 10118 10746 5927 110...

output:

2
3
4
5
6
7
8
9
10
11
13
15
16
17
18
20
21
22
23
24
25
26
27
29
31
32
33
34
36
37
38
39
40
41
42
43
44
45
46
47
48
49
51
52
53
54
55
57
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
77
78
79
80
81
82
83
84
85
86
87
88
90
92
93
95
96
97
98
99
100
101
102
103
106
107
108
109
110
111
112
113
114
1...

result:

ok 12914 lines

Test #66:

score: 0
Accepted
time: 2328ms
memory: 5792kb

input:

14999
1350 12705 6066 9904 10198 3966 12058 14828 11787 8607 3790 8380 356 6993 2288 3106 4854 14666 2360 5390 11358 10434 6439 2971 8641 3367 314 4405 4538 2639 10637 4815 4028 57 8053 6350 14071 4240 14399 14540 13256 13302 7355 8011 4314 14227 234 12992 6457 13779 7311 9278 1272 12745 11503 3455 ...

output:

5
6
7
9
11
13
14
17
18
19
22
23
24
25
26
27
29
30
32
33
34
35
37
38
39
40
41
42
43
47
48
49
50
51
54
57
59
61
62
63
64
68
69
70
75
76
79
80
82
83
84
86
88
90
91
92
94
95
96
97
98
101
103
104
105
106
111
112
118
121
122
123
124
125
127
128
130
131
132
133
135
136
138
139
140
141
142
143
144
146
147
1...

result:

ok 9339 lines

Test #67:

score: 0
Accepted
time: 1458ms
memory: 5572kb

input:

14999
12835 8783 6330 8529 1162 4093 6463 3771 7563 5473 4236 5777 12243 11243 8751 4758 13814 9701 1305 9763 5496 11362 12471 6782 9959 11538 10645 13969 2572 12904 6793 14201 10205 14107 4522 7487 7338 12093 5198 14050 8975 12885 6921 6730 13628 898 3398 14865 4597 7298 14734 4529 11437 10550 5861...

output:

5
6
16
21
23
25
31
37
44
49
54
55
56
57
68
74
80
81
88
94
100
104
111
114
118
119
128
131
140
141
142
146
147
149
150
153
155
157
163
164
187
189
194
195
204
205
208
210
217
218
220
228
230
231
233
235
242
245
255
256
269
270
275
279
280
281
284
288
289
293
295
318
324
327
336
339
342
344
345
350
35...

result:

ok 3637 lines

Test #68:

score: 0
Accepted
time: 1262ms
memory: 5504kb

input:

14999
4214 1434 7565 13705 8619 1444 13786 14431 6930 2984 8031 7793 2975 3946 11879 10938 7954 10375 12612 8389 3623 4718 12577 5802 10410 1300 4360 8627 11891 2296 5525 12905 8767 10776 6486 8333 13640 1124 7444 12814 3434 9480 5582 1331 6526 6545 8527 11973 4999 7945 6985 10879 12255 3510 4429 19...

output:

7
35
39
43
49
64
68
69
73
75
81
92
95
108
111
119
139
147
148
154
159
179
181
190
193
207
211
214
218
226
235
241
248
253
254
259
261
289
305
325
344
350
356
357
378
397
398
401
402
403
404
409
414
423
424
440
457
467
470
475
480
481
482
501
518
524
527
530
542
550
551
555
565
568
595
596
599
608
63...

result:

ok 2078 lines

Test #69:

score: 0
Accepted
time: 2749ms
memory: 5596kb

input:

14999
130 296 5904 4539 4395 8625 4950 6620 14317 14542 6990 10871 7744 9518 12677 1134 7078 13485 3879 705 14754 6855 14655 2475 5926 2448 13319 13401 5745 1416 5163 13347 4229 19 2673 5088 8867 188 9255 3733 6408 14209 14867 8186 14326 1584 226 598 3218 13016 8705 12658 12668 7086 6419 6743 14057 ...

output:

2
3
4
7
9
10
12
18
20
21
23
25
28
29
30
31
32
33
38
39
40
41
42
44
45
46
47
49
50
51
52
54
55
56
59
60
61
62
64
67
68
69
73
75
76
77
78
82
85
87
88
89
91
92
93
94
95
97
98
100
104
105
106
107
108
109
110
111
112
113
114
115
116
117
119
120
122
125
126
127
128
129
131
134
135
137
138
139
140
141
142
...

result:

ok 10364 lines

Test #70:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

17
33 15 26 20 34 33 9 14 33 32 16 1 7 12 29 15 27

output:

none

result:

ok single line: 'none'