QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#109999#8. 奇数国olriutre0 227ms67488kbC++174.1kb2023-05-31 09:33:582023-05-31 09:34:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 23ms
memory: 67248kb

input:

122
1 47 84606
1 39 10304
0 31 46
0 47 50
1 16 80142
1 15 55620
1 56 8487
1 22 65813
0 17 28
1 45 73139
0 41 47
1 15 73640
1 40 44390
1 68 70490
0 63 69
0 39 40
0 12 16
1 25 3444
0 25 27
1 18 31800
1 60 89056
1 60 52890
0 53 60
0 53 60
1 63 3243
1 54 9100
0 51 59
1 35 36461
1 61 52428
0 55 61
1 50 6...

output:

15065711
745416
7168397
4349434
10917504
7845423
12059087
8640
9771476
9771476
18178080
3808818
5207440
3664690
84541
248649
28416
1628780
5822382
14322569
8310082
13132139
2686635
5189481
12444110
2590144
14220749
6370422
16156072
18006526
16727025
14374237
5378234
6395315
3733363
12117453
2362790
...

result:

wrong answer 1st lines differ - expected: '3448280', found: '15065711'

Test #2:

score: 0
Wrong Answer
time: 20ms
memory: 67292kb

input:

10000
1 3204 2085
0 3193 3210
0 5567 5581
0 5070 5093
1 7744 53578
0 7726 7744
1 5938 90890
0 5933 5946
1 2282 404
0 2275 2293
0 5529 5552
0 5411 5427
1 1288 83658
1 1691 75254
1 8728 1909
1 9085 92560
0 9068 9085
0 8728 8731
1 6452 52632
0 6444 6458
0 1691 1704
0 1270 1288
0 5233 5248
0 5400 5420
0...

output:

6585514
9565938
4839678
10670996
9260853
3914293
4839678
6245470
1347913
48708
4341121
5621338
14935427
8735821
6833245
4839678
18
8735821
4839678
7224854
18978371
16285244
4839678
8931746
10800084
17586309
11215879
19586450
15108512
2114974
8235491
14727116
6500503
8289337
6194649
4962819
8780745
9...

result:

wrong answer 1st lines differ - expected: '2185946', found: '6585514'

Test #3:

score: 0
Wrong Answer
time: 67ms
memory: 67256kb

input:

20000
0 4519 6399
0 5538 5991
0 5830 7147
1 5838 256887
0 5544 7321
1 3889 10561
1 2843 775260
0 1555 2973
0 2570 5389
0 5338 6500
1 9416 950309
1 5569 690690
1 3145 135315
1 2365 35167
1 3940 43
1 5310 5353
1 8337 568841
1 5796 169
1 3104 746130
0 2515 3432
1 10626 35611
0 8635 12588
1 10562 946774...

output:

1047614
6037414
3115948
11924874
8863915
14753012
18635604
12328720
11850095
16127308
17471779
16028787
9950998
15347836
12380040
14683117
17149387
11895145
10400160
1356573
4572638
5379586
2525825
3505559
4472458
18320211
17533388
12163380
17654480
5605026
12217828
8372108
3990005
278718
1929460
11...

result:

wrong answer 4th lines differ - expected: '9426030', found: '11924874'

Test #4:

score: 0
Wrong Answer
time: 71ms
memory: 67172kb

input:

30000
1 12080 458075
0 9890 15050
1 7144 149
0 4091 10808
1 5942 843378
0 2599 9264
1 9921 6647
0 6378 12730
1 8131 602651
0 5475 11565
1 9005 870870
0 6625 12774
1 11492 690690
0 8194 14863
1 4340 256
0 918 6863
1 7069 344488
0 3763 10001
1 12418 8192
0 9118 15941
1 11125 690690
0 8462 14279
1 9951...

output:

12192377
2424502
14361923
14206812
19258700
5960365
18856953
662371
12074353
18909868
1702820
14250032
388735
6423735
16813276
3959380
19007492
6265509
7209740
17800816
3919746
3823337
6031709
10393972
12942497
17583965
3404278
8821543
1272192
18312568
4381626
3009831
13021481
2219179
11403819
17531...

result:

wrong answer 1st lines differ - expected: '4210970', found: '12192377'

Test #5:

score: 0
Wrong Answer
time: 91ms
memory: 67252kb

input:

50000
1 29347 187726
0 25914 32532
1 20674 8192
0 15953 24784
1 24117 4752
0 19706 27975
1 22413 538
0 18457 27027
1 25177 931944
0 20749 29602
1 25822 52728
0 22542 28875
1 27405 746130
0 23587 31278
1 24494 24187
0 20318 27988
1 23628 85158
0 20006 28203
1 20524 24389
0 16166 24111
1 29127 733825
...

output:

16405835
11392813
5471375
14136032
14933618
19137531
18483170
3619030
19723603
18578407
18211237
9597117
18846362
10776284
85728
14813836
638305
7770351
18094533
5040874
18529249
5422629
10536653
12862430
8895061
12608642
10162327
11631685
17767179
3854518
17996621
6195328
7950347
11486952
10706588
...

result:

wrong answer 1st lines differ - expected: '1556121', found: '16405835'

Test #6:

score: 0
Wrong Answer
time: 110ms
memory: 67488kb

input:

60000
1 6 2
1 12 3
1 18 5
1 24 7
1 30 11
1 36 13
1 42 17
1 48 19
1 54 23
1 60 29
1 66 31
1 72 37
1 78 41
1 84 43
1 90 47
1 96 53
1 102 59
1 108 61
1 114 67
1 120 71
1 126 73
1 132 79
1 138 83
1 144 89
1 150 97
1 156 101
1 162 103
1 168 107
1 174 109
1 180 113
1 186 127
1 192 131
1 198 137
1 204 139
...

output:

11631782
9683816
11138461
14640469
6326499
4544658
18323748
17380468
1080477
8859744
11864716
13934523
15471541
18689991
3786781
5822388
1651403
5913828
19059296
1534984
15024419
18324477
10810072
11619008
12142640
5041949
490798
14962575
1917410
59122
14130020
3933755
15950796
12713850
8095548
1400...

result:

wrong answer 1st lines differ - expected: '4205032', found: '11631782'

Test #7:

score: 0
Wrong Answer
time: 227ms
memory: 67276kb

input:

70000
1 7 2
1 14 3
1 21 5
1 28 7
1 35 11
1 42 13
1 49 17
1 56 19
1 63 23
1 70 29
1 77 31
1 84 37
1 91 41
1 98 43
1 105 47
1 112 53
1 119 59
1 126 61
1 133 67
1 140 71
1 147 73
1 154 79
1 161 83
1 168 89
1 175 97
1 182 101
1 189 103
1 196 107
1 203 109
1 210 113
1 217 127
1 224 131
1 231 137
1 238 13...

output:

16484986
18831901
11872854
1174075
11152474
16905220
19177418
18219157
1940037
12628512
18582965
17145966
8098833
13862903
18582965
8296869
6976100
9676792
15453278
1305523
12446822
12801971
12446822
14973268
19842842
18107940
19842842
631717
8125774
13992217
14461453
4531759
13348432
10993871
42518...

result:

wrong answer 5th lines differ - expected: '4598254', found: '11152474'

Test #8:

score: 0
Wrong Answer
time: 198ms
memory: 67288kb

input:

80000
1 8 2
1 16 3
1 24 5
1 32 7
1 40 11
1 48 13
1 56 17
1 64 19
1 72 23
1 80 29
1 88 31
1 96 37
1 104 41
1 112 43
1 120 47
1 128 53
1 136 59
1 144 61
1 152 67
1 160 71
1 168 73
1 176 79
1 184 83
1 192 89
1 200 97
1 208 101
1 216 103
1 224 107
1 232 109
1 240 113
1 248 127
1 256 131
1 264 137
1 272 ...

output:

11485550
12253815
14092162
19695010
10239196
8740607
1766560
8740607
14840124
1937298
4079448
3817636
1621111
3817636
17226635
10040260
16396463
1549694
5594198
17537378
17231052
17537378
10891233
12687363
12804817
12922406
16743526
4579988
4495999
523385
12588262
5965249
14151372
16917883
5965249
1...

result:

wrong answer 2nd lines differ - expected: '7506222', found: '12253815'

Test #9:

score: 0
Wrong Answer
time: 186ms
memory: 67252kb

input:

90000
1 9 2
1 18 3
1 27 5
1 36 7
1 45 11
1 54 13
1 63 17
1 72 19
1 81 23
1 90 29
1 99 31
1 108 37
1 117 41
1 126 43
1 135 47
1 144 53
1 153 59
1 162 61
1 171 67
1 180 71
1 189 73
1 198 79
1 207 83
1 216 89
1 225 97
1 234 101
1 243 103
1 252 107
1 261 109
1 270 113
1 279 127
1 288 131
1 297 137
1 306...

output:

17196202
5422468
10199336
5907308
11978447
5422468
10605585
7983825
16323698
10605585
12842487
13551164
10605585
18628925
6327792
5572466
7282759
6327792
9452251
7860493
8042263
16475840
7860493
1150299
4471381
769987
6617445
4003719
1820966
6617445
11638818
11139897
6617445
19654451
4082656
3252211...

result:

wrong answer 2nd lines differ - expected: '19552301', found: '5422468'

Test #10:

score: 0
Wrong Answer
time: 160ms
memory: 67272kb

input:

100000
1 10 2
1 20 3
1 30 5
1 40 7
1 50 11
1 60 13
1 70 17
1 80 19
1 90 23
1 100 29
1 110 31
1 120 37
1 130 41
1 140 43
1 150 47
1 160 53
1 170 59
1 180 61
1 190 67
1 200 71
1 210 73
1 220 79
1 230 83
1 240 89
1 250 97
1 260 101
1 270 103
1 280 107
1 290 109
1 300 113
1 310 127
1 320 131
1 330 137
1...

output:

1091322
2878264
944278
15354247
1129461
17072978
10112003
6409478
4493438
10399863
19294988
13166406
1492079
10055407
15973213
3238104
9291228
6475808
391782
12865888
12025085
5513247
4116505
2510547
10995224
4613085
17632419
12834816
11593498
19859159
8037079
10570246
15584170
11593194
14436644
126...

result:

wrong answer 1st lines differ - expected: '8431547', found: '1091322'