QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#106639#6313. 人员调度alch0714 2957ms80636kbC++1410.0kb2023-05-18 14:17:252023-05-18 14:18:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 34268kb

input:

1
6 6 6
1 2 3 2 3
1 52078
2 3759
1 85897
6 14295
3 47290
3 93702
1 2 41269
1 5 79793
1 6 88324
1 1 88307
1 4 64229
1 3 18664

output:

297021 286212 362246 436275 438685 455624 455624 

result:

wrong answer 2nd numbers differ - expected: '334531', found: '286212'

Test #2:

score: 2
Accepted
time: 3ms
memory: 34240kb

input:

2
9 6 6
1 1 2 1 5 4 5 2
2 28610
4 62909
9 44990
8 38352
8 97403
4 91172
1 7 77724
1 5 73030
1 1 74599
1 2 11376
1 9 41281
1 5 52692

output:

325084 339899 412929 487528 487528 487528 540220 

result:

ok 7 numbers

Test #3:

score: 2
Accepted
time: 4ms
memory: 34268kb

input:

2
9 6 6
1 2 3 4 4 1 3 2
2 43265
6 10749
4 75789
5 17017
3 68560
5 61211
1 1 82982
2 5
2 1
2 7
1 7 30320
2 6

output:

259574 342556 273996 230731 147749 178069 133875 

result:

ok 7 numbers

Test #4:

score: 0
Wrong Answer
time: 15ms
memory: 34260kb

input:

3
16 66 66
1 1 2 3 4 6 6 6 5 5 5 1 1 9 10
6 17077
6 78264
13 58368
15 52835
7 36607
9 43555
5 89936
15 55777
13 44137
1 66172
8 89009
2 1318
2 63845
8 93573
13 11924
15 74580
14 20835
6 9184
14 75018
16 94155
10 48597
5 41484
4 87492
14 9932
16 21740
13 4298
7 76915
3 81689
7 3064
7 9149
1 21961
6 1...

output:

1203544 1203544 1195651 1195651 1213387 1214256 1214256 1214256 1214256 1214256 1274494 1274494 1274494 1274494 1274494 1274494 1274494 1274494 1250847 1250847 1250847 1250847 1250847 1250847 1232044 1224701 1239267 1239267 1224701 1208538 1208538 1208538 1214706 1188250 1176898 1176898 1195695 1192...

result:

wrong answer 1st numbers differ - expected: '1266121', found: '1203544'

Test #5:

score: 0
Wrong Answer
time: 8ms
memory: 34292kb

input:

3
16 66 66
1 2 3 4 5 6 7 8 8 8 8 4 4 7 8
4 17274
9 14926
1 1389
15 21673
6 63249
7 25469
7 58444
5 16209
10 14761
2 74416
10 89493
11 85483
6 60737
16 97844
15 68483
5 86467
13 46164
4 12404
11 77651
10 32071
6 61761
6 82399
2 3843
13 76772
5 60099
8 56289
10 96527
4 43558
15 48089
1 63015
7 35381
4...

output:

1210894 1277986 1277986 1277986 1277986 1312782 1232064 1232064 1307228 1370452 1370452 1370452 1370452 1358674 1346199 1346199 1346199 1337991 1337991 1337991 1399071 1399071 1399071 1399071 1399071 1317407 1317407 1317407 1377120 1401176 1401176 1372650 1372650 1325852 1291759 1291759 1278365 1278...

result:

wrong answer 1st numbers differ - expected: '1405383', found: '1210894'

Test #6:

score: 0
Wrong Answer
time: 3ms
memory: 34236kb

input:

4
66 66 0
1 2 3 1 4 5 6 8 7 10 9 12 11 14 15 13 16 18 17 19 21 20 23 24 22 26 26 26 26 26 26 26 26 26 26 26 26 26 25 25 25 25 25 25 25 25 25 25 25 25 25 28 45 17 28 3 19 19 18 46 42 35 20 7 55
39 82261
51 30803
13 11540
7 22146
43 43489
49 85871
31 55374
6 74182
50 11205
39 808
66 8446
27 38250
5 77...

output:

2572745 

result:

wrong answer 1st numbers differ - expected: '2611984', found: '2572745'

Test #7:

score: 2
Accepted
time: 4ms
memory: 34276kb

input:

4
66 66 0
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 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 24 7 12 3 6 19 28 45 30 18 10 50 34 58 13 63 62
64 66408
38 81306
38 76367
14 63364
13 25358
56 52456
59 22480
54 1586
32 88869
61 70293
36 63360
51 48806
...

output:

2817954 

result:

ok 1 number(s): "2817954"

Test #8:

score: 2
Accepted
time: 4ms
memory: 34280kb

input:

4
66 66 0
1 2 1 4 5 3 6 8 9 7 10 11 12 13 15 14 17 18 16 19 20 21 23 22 24 25 25 25 25 25 25 25 25 25 25 25 25 25 26 26 26 26 26 26 26 26 26 26 26 26 26 15 15 23 28 20 2 42 48 51 16 7 19 58 47
31 89942
65 66178
14 46664
27 60218
4 92822
45 64969
10 11089
56 28103
45 79709
15 21700
48 87186
1 99586
4...

output:

2963026 

result:

ok 1 number(s): "2963026"

Test #9:

score: 0
Wrong Answer
time: 4ms
memory: 34872kb

input:

5
2333 2333 0
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 9...

output:

102421932 

result:

wrong answer 1st numbers differ - expected: '102630666', found: '102421932'

Test #10:

score: 0
Wrong Answer
time: 7ms
memory: 34784kb

input:

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

output:

97546133 

result:

wrong answer 1st numbers differ - expected: '97653563', found: '97546133'

Test #11:

score: 0
Wrong Answer
time: 9ms
memory: 34756kb

input:

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

output:

96496225 

result:

wrong answer 1st numbers differ - expected: '96687896', found: '96496225'

Test #12:

score: 0
Wrong Answer
time: 178ms
memory: 62064kb

input:

6
100000 100000 0
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 ...

output:

5004057019 

result:

wrong answer 1st numbers differ - expected: '5007624082', found: '5004057019'

Test #13:

score: 0
Wrong Answer
time: 180ms
memory: 62120kb

input:

6
100000 100000 0
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 ...

output:

4982120470 

result:

wrong answer 1st numbers differ - expected: '4984117401', found: '4982120470'

Test #14:

score: 0
Wrong Answer
time: 180ms
memory: 62076kb

input:

6
100000 100000 0
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 ...

output:

4994499477 

result:

wrong answer 1st numbers differ - expected: '4996416696', found: '4994499477'

Test #15:

score: 0
Wrong Answer
time: 215ms
memory: 57544kb

input:

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

output:

4396698961 

result:

wrong answer 1st numbers differ - expected: '4401773488', found: '4396698961'

Test #16:

score: 0
Wrong Answer
time: 265ms
memory: 55172kb

input:

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

output:

4268903723 

result:

wrong answer 1st numbers differ - expected: '4274252146', found: '4268903723'

Test #17:

score: 0
Wrong Answer
time: 209ms
memory: 57524kb

input:

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

output:

4404920851 

result:

wrong answer 1st numbers differ - expected: '4409489220', found: '4404920851'

Test #18:

score: 0
Wrong Answer
time: 312ms
memory: 55156kb

input:

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

output:

4263385502 

result:

wrong answer 1st numbers differ - expected: '4269079003', found: '4263385502'

Test #19:

score: 0
Wrong Answer
time: 31ms
memory: 35256kb

input:

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

output:

99801184 99876254 99944570 99944570 99968865 99985664 100053718 100103768 100146659 100200928 100235979 100296003 100315908 100315908 100336024 100400110 100475795 100475795 100511774 100511774 100550736 100633245 100644140 100741405 100839465 100839465 100890007 100969907 101036044 101036044 101067...

result:

wrong answer 1st numbers differ - expected: '99979267', found: '99801184'

Test #20:

score: 0
Wrong Answer
time: 28ms
memory: 35288kb

input:

8
2333 2333 2333
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 9...

output:

104347921 104401034 104416834 104416834 104454664 104491923 104569026 104608169 104608169 104664279 104727581 104757526 104799289 104799289 104828289 104856765 104904419 104904419 104904419 104908655 104908655 104996227 104996227 105031021 105076564 105085672 105085672 105085672 105154212 105154212 ...

result:

wrong answer 1st numbers differ - expected: '104491980', found: '104347921'

Test #21:

score: 0
Wrong Answer
time: 36ms
memory: 35260kb

input:

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

output:

98155835 98218661 98266741 98266741 98266741 98354941 98442058 98526250 98599809 98603902 98668452 98698182 98698182 98795106 98795106 98845503 98855499 98875590 98969746 98995318 98995318 99023050 99023050 99075273 99163841 99209509 99278094 99299252 99324547 99358128 99358128 99386500 99420418 994...

result:

wrong answer 1st numbers differ - expected: '98368021', found: '98155835'

Test #22:

score: 0
Wrong Answer
time: 2472ms
memory: 80636kb

input:

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

output:

4980577080 4980605509 4980577874 4980560096 4980628008 4980653595 4980718585 4980693232 4980753424 4980740311 4980816350 4980885521 4980927164 4980989810 4981083043 4981143348 4981170676 4981186264 4981213255 4981252426 4981255324 4981305328 4981341016 4981344355 4981395880 4981521952 4981565057 498...

result:

wrong answer 1st numbers differ - expected: '4983791224', found: '4980577080'

Test #23:

score: 0
Wrong Answer
time: 2485ms
memory: 80560kb

input:

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

output:

4996560383 4996636558 4996647765 4996692406 4996715079 4996780096 4996844313 4996901785 4996968692 4997047150 4997056424 4997125022 4997160269 4997230561 4997321201 4997334660 4997431169 4997455389 4997502393 4997544023 4997592379 4997628344 4997709598 4997744894 4997812793 4997873810 4997910687 499...

result:

wrong answer 1st numbers differ - expected: '5001930424', found: '4996560383'

Test #24:

score: 0
Wrong Answer
time: 2530ms
memory: 80552kb

input:

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

output:

4990412100 4990414912 4990485327 4990508396 4990544577 4990578460 4990572729 4990639340 4990671517 4990725997 4990760587 4990844491 4990889799 4990978467 4990978459 4991057489 4991141365 4991136131 4991216351 4991225354 4991305948 4991314242 4991345328 4991334348 4991382409 4991307866 4991362511 499...

result:

wrong answer 1st numbers differ - expected: '4992694782', found: '4990412100'

Test #25:

score: 0
Wrong Answer
time: 2957ms
memory: 74468kb

input:

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

output:

4251858178 4251868409 4251926058 4251975112 4251975112 4251995083 4252050172 4252092570 4252092570 4252095261 4252095261 4252096850 4252097786 4252154958 4252163105 4252178284 4252270485 4252293567 4252293567 4252303012 4252370221 4252464631 4252464631 4252520415 4252520415 4252551342 4252591931 425...

result:

wrong answer 1st numbers differ - expected: '4256469136', found: '4251858178'

Test #26:

score: 0
Wrong Answer
time: 2938ms
memory: 74436kb

input:

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

output:

4271438253 4271438253 4271451110 4271500991 4271537333 4271549715 4271648775 4271648775 4271648775 4271658603 4271749611 4271808151 4271808151 4271808151 4271847445 4271929454 4271947437 4271983756 4271997288 4271999366 4272080779 4272170883 4272235791 4272293550 4272346131 4272346131 4272346131 427...

result:

wrong answer 1st numbers differ - expected: '4276569611', found: '4271438253'

Test #27:

score: 0
Wrong Answer
time: 2930ms
memory: 74440kb

input:

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

output:

4261803866 4261809384 4261809384 4261809384 4261830798 4261835590 4261835590 4261835590 4261910579 4261910579 4261910579 4261910579 4261910579 4261981768 4261995826 4262091851 4262187501 4262204288 4262204288 4262204288 4262234369 4262287399 4262287399 4262314364 4262406794 4262417165 4262419040 426...

result:

wrong answer 1st numbers differ - expected: '4267106136', found: '4261803866'

Test #28:

score: 0
Wrong Answer
time: 2924ms
memory: 74404kb

input:

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

output:

4267703064 4267717484 4267739610 4267781171 4267781171 4267878373 4267972734 4268019919 4268027694 4268060853 4268111089 4268187689 4268233510 4268249851 4268280498 4268330704 4268330704 4268369710 4268431865 4268499391 4268516466 4268516466 4268552339 4268581279 4268680790 4268776354 4268811844 426...

result:

wrong answer 1st numbers differ - expected: '4272572529', found: '4267703064'

Test #29:

score: 0
Wrong Answer
time: 35ms
memory: 35016kb

input:

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

output:

98153182 98127205 98180576 98180576 98163329 98186964 98207012 98203319 98208785 98247935 98269905 98229486 98194985 98194985 98194985 98267074 98267074 98234890 98234890 98231454 98231454 98215974 98215974 98215974 98215974 98235053 98327153 98327153 98238782 98256019 98228309 98174953 98272464 982...

result:

wrong answer 1st numbers differ - expected: '98346715', found: '98153182'

Test #30:

score: 0
Wrong Answer
time: 25ms
memory: 35092kb

input:

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

output:

99500286 99544738 99481118 99459819 99424874 99416913 99498329 99452756 99452756 99362613 99362613 99408870 99343607 99343607 99352103 99352103 99362945 99283088 99335514 99250031 99250031 99204678 99216108 99216108 99129306 99137730 99176039 99180014 99131303 99104870 99104870 99017948 99017948 990...

result:

wrong answer 1st numbers differ - expected: '99522112', found: '99500286'

Test #31:

score: 0
Wrong Answer
time: 25ms
memory: 35052kb

input:

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

output:

98210661 98297190 98271072 98296175 98209845 98181230 98223753 98306146 98302530 98268993 98361875 98344662 98344662 98420888 98412471 98433421 98460937 98462557 98462557 98463647 98459238 98540037 98516344 98516344 98557697 98562787 98570959 98570959 98570959 98520087 98558719 98558719 98598503 985...

result:

wrong answer 1st numbers differ - expected: '98318975', found: '98210661'

Test #32:

score: 2
Accepted
time: 1596ms
memory: 69628kb

input:

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

output:

82625 82625 82624 82624 82623 82624 82624 82625 82624 82625 82625 82626 82627 82628 82628 82629 82628 82628 82627 82627 82628 82628 82629 82628 82629 82630 82629 82630 82630 82629 82630 82629 82628 82629 82628 82628 82629 82630 82630 82630 82630 82629 82628 82628 82627 82627 82628 82628 82628 82629 ...

result:

ok 100001 numbers

Test #33:

score: 2
Accepted
time: 2309ms
memory: 75796kb

input:

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

output:

82796 82796 82797 82798 82798 82799 82800 82801 82802 82803 82804 82805 82806 82807 82807 82808 82808 82808 82808 82809 82810 82810 82811 82812 82812 82812 82812 82813 82813 82814 82815 82816 82817 82817 82818 82818 82819 82820 82821 82822 82823 82824 82824 82825 82826 82826 82826 82827 82828 82829 ...

result:

ok 100001 numbers

Test #34:

score: 2
Accepted
time: 1583ms
memory: 69728kb

input:

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

output:

82783 82782 82783 82784 82783 82782 82782 82782 82781 82781 82781 82782 82782 82782 82783 82782 82781 82782 82783 82782 82781 82781 82782 82782 82781 82781 82782 82783 82782 82782 82783 82782 82783 82783 82782 82782 82783 82783 82783 82783 82782 82782 82781 82780 82779 82779 82779 82778 82777 82776 ...

result:

ok 100001 numbers

Test #35:

score: 0
Wrong Answer
time: 1414ms
memory: 74988kb

input:

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

output:

4978643643 4978601274 4978593603 4978607443 4978618728 4978610468 4978563016 4978528354 4978537308 4978529473 4978495131 4978518434 4978436608 4978454942 4978436379 4978390069 4978456444 4978502975 4978479744 4978477539 4978468575 4978494206 4978488422 4978581623 4978583442 4978561574 4978522570 497...

result:

wrong answer 1st numbers differ - expected: '4980366937', found: '4978643643'

Test #36:

score: 0
Wrong Answer
time: 1553ms
memory: 75040kb

input:

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

output:

4990665281 4990670264 4990735842 4990780335 4990695972 4990772137 4990791792 4990731494 4990718631 4990714957 4990704077 4990771453 4990804338 4990759743 4990858295 4990790553 4990767522 4990748647 4990721456 4990769277 4990784069 4990703956 4990616677 4990599969 4990625179 4990679580 4990714870 499...

result:

wrong answer 1st numbers differ - expected: '4994181299', found: '4990665281'

Test #37:

score: 0
Wrong Answer
time: 1471ms
memory: 75176kb

input:

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

output:

4998906399 4998951682 4999050063 4999062263 4999086003 4999149033 4999127225 4999117671 4999180896 4999177011 4999170903 4999267770 4999343120 4999289707 4999315863 4999414715 4999428888 4999466019 4999408317 4999451040 4999516711 4999489414 4999491050 4999579242 4999625005 4999618424 4999620608 499...

result:

wrong answer 1st numbers differ - expected: '5000749094', found: '4998906399'

Test #38:

score: 0
Wrong Answer
time: 1304ms
memory: 74916kb

input:

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

output:

5005440450 5005372555 5005393409 5005343836 5005273021 5005283420 5005298307 5005145894 5005099109 5005143264 5005155112 5005184467 5005270534 5005291709 5005344651 5005366815 5005274866 5005204555 5005216325 5005164077 5005186034 5005219038 5005169733 5005078140 5005112710 5005167728 5005104330 500...

result:

wrong answer 1st numbers differ - expected: '5007627660', found: '5005440450'

Test #39:

score: 0
Wrong Answer
time: 1368ms
memory: 64488kb

input:

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

output:

2931966446 2932026320 2932062086 2932140518 2932156090 2932242499 2932270587 2932313148 2932383361 2932383361 2932417794 2932417794 2932417794 2932514519 2932565072 2932644939 2932646545 2932646545 2932666488 2932671773 2932671773 2932740144 2932757636 2932801820 2932872318 2932947132 2933012963 293...

result:

wrong answer 1st numbers differ - expected: '2936083439', found: '2931966446'

Test #40:

score: 0
Wrong Answer
time: 1276ms
memory: 58616kb

input:

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

output:

2841289167 2841341460 2841353775 2841304929 2841223206 2841146966 2841123841 2841108593 2841051762 2841082917 2841077375 2841064671 2840972092 2840988730 2841059146 2841104863 2841094201 2841140629 2841218801 2841218801 2841196314 2841196314 2841215513 2841215513 2841192736 2841119485 2841048644 284...

result:

wrong answer 1st numbers differ - expected: '2845059678', found: '2841289167'

Test #41:

score: 0
Wrong Answer
time: 1283ms
memory: 58600kb

input:

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

output:

2850961921 2850985821 2850985821 2851076219 2851039518 2851039630 2850969830 2850980886 2851077763 2851007691 2850974973 2850980001 2850889606 2850927917 2851018232 2851078935 2851143440 2851170057 2851226619 2851242768 2851246529 2851154625 2851072017 2851026317 2850989071 2850916723 2850870200 285...

result:

wrong answer 1st numbers differ - expected: '2855673525', found: '2850961921'

Test #42:

score: 0
Wrong Answer
time: 949ms
memory: 59996kb

input:

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

output:

2939791600 2939822242 2939822242 2939873221 2939787683 2939783957 2939772095 2939850001 2939935967 2939935967 2939911755 2939996884 2939989795 2939976579 2939944038 2939967719 2939976653 2939929481 2939896658 2939926477 2939947895 2939854260 2939854260 2939777857 2939824102 2939922683 2939904651 293...

result:

wrong answer 1st numbers differ - expected: '2944133418', found: '2939791600'

Test #43:

score: 0
Wrong Answer
time: 1356ms
memory: 64444kb

input:

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

output:

2932028456 2932037470 2932074150 2932087056 2932182774 2932268027 2932288529 2932309692 2932405848 2932413914 2932413914 2932415753 2932514343 2932515453 2932547938 2932577503 2932652628 2932749981 2932768018 2932794800 2932820540 2932872702 2932962548 2933044269 2933044269 2933063734 2933068200 293...

result:

wrong answer 1st numbers differ - expected: '2936334256', found: '2932028456'

Test #44:

score: 0
Wrong Answer
time: 946ms
memory: 60020kb

input:

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

output:

2930855774 2930900097 2930904797 2930974073 2931041990 2931088273 2931151921 2931169291 2931123951 2931049386 2930955441 2930986038 2931008570 2931063868 2931125554 2931146452 2931146452 2931146452 2931146452 2931071903 2931024765 2931035464 2931035464 2930985141 2931008940 2931059146 2931081932 293...

result:

wrong answer 1st numbers differ - expected: '2934715875', found: '2930855774'

Test #45:

score: 0
Wrong Answer
time: 2182ms
memory: 68024kb

input:

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

output:

4256497552 4256412620 4256468540 4256480587 4256517351 4256517351 4256480326 4256480326 4256501819 4256501819 4256532008 4256568398 4256568398 4256615394 4256615394 4256615394 4256615394 4256691763 4256691763 4256708545 4256702893 4256759967 4256698242 4256692560 4256657477 4256754436 4256754436 425...

result:

wrong answer 1st numbers differ - expected: '4261432590', found: '4256497552'

Test #46:

score: 0
Wrong Answer
time: 2297ms
memory: 68080kb

input:

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

output:

4250951985 4250963368 4250883813 4250878126 4250879899 4250872784 4250872784 4250798744 4250798744 4250798744 4250864543 4250816543 4250796659 4250822430 4250822430 4250823596 4250823596 4250779696 4250852659 4250872011 4250814478 4250814478 4250871256 4250892636 4250921262 4250981958 4251005145 425...

result:

wrong answer 1st numbers differ - expected: '4255471314', found: '4250951985'

Test #47:

score: 0
Wrong Answer
time: 2892ms
memory: 74444kb

input:

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

output:

4258898346 4258910152 4258976572 4259014853 4259056545 4259081203 4259084860 4259104386 4259120418 4259145076 4259186089 4259241310 4259334460 4259334460 4259416068 4259450351 4259450351 4259456635 4259549357 4259608752 4259643964 4259716718 4259773929 4259774589 4259774589 4259874195 4259885086 425...

result:

wrong answer 1st numbers differ - expected: '4263894872', found: '4258898346'

Test #48:

score: 0
Wrong Answer
time: 2940ms
memory: 74420kb

input:

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

output:

4272720676 4272767592 4272795018 4272839445 4272927437 4272957834 4272980093 4272983433 4273022791 4273105050 4273105050 4273163461 4273170412 4273205035 4273271578 4273288451 4273324607 4273415161 4273442954 4273493483 4273575985 4273601068 4273612111 4273622474 4273622474 4273664836 4273666625 427...

result:

wrong answer 1st numbers differ - expected: '4277723507', found: '4272720676'

Test #49:

score: 0
Wrong Answer
time: 2130ms
memory: 68068kb

input:

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

output:

4245053961 4245067116 4245161140 4245247523 4245247523 4245163471 4245083011 4245083011 4245004835 4245041821 4245024371 4245024371 4245024371 4245033918 4245110428 4245110428 4245082153 4245148369 4245055864 4245097308 4245088840 4245083443 4245113785 4245127363 4245063434 4245063434 4245119799 424...

result:

wrong answer 1st numbers differ - expected: '4250187762', found: '4245053961'

Test #50:

score: 0
Wrong Answer
time: 2072ms
memory: 68072kb

input:

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

output:

4264954928 4264954928 4264954928 4264954928 4264959214 4264986590 4265013743 4265013743 4264942007 4264942007 4264905797 4264884038 4264884038 4264968999 4264959274 4265033305 4265033608 4264968165 4264968165 4264989349 4265054821 4265071034 4265039099 4265039099 4265121863 4265151172 4265160310 426...

result:

wrong answer 1st numbers differ - expected: '4270838194', found: '4264954928'