QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#856094#9826. Capybara Cozy CarnivaldXqwq#WA 7ms28772kbC++234.0kb2025-01-13 16:15:212025-01-13 16:15:23

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 28772kb

input:

4
4 1 3
1 3
5 0 2
9 4 3
1 3
1 6
4 6
6 8
3 0 1001

output:

6
0
54
1754647

result:

ok 4 number(s): "6 0 54 1754647"

Test #2:

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

input:

3
27 7 2
2 4
2 10
2 27
6 8
10 27
23 25
25 27
45 2 6
1 28
30 44
10 1 2
2 10

output:

0
901983388
0

result:

ok 3 number(s): "0 901983388 0"

Test #3:

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

input:

10
57 0 3
91 15 3
2 86
4 14
11 14
16 20
20 33
20 35
20 47
22 27
37 47
47 55
58 86
61 68
70 77
74 77
79 84
37 2 6
11 32
32 34
72 2 2
37 69
42 49
54 0 6
44 4 5
4 10
10 17
10 22
17 22
73 8 6
16 22
18 20
22 36
24 34
26 32
28 30
38 40
38 42
46 7 4
3 15
5 15
7 9
9 11
9 15
11 13
11 15
8 0 2
92 12 2
1 3
1 1...

output:

459611126
197782309
302426580
0
252127666
902924948
368665636
646070656
2
0

result:

ok 10 numbers

Test #4:

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

input:

10
255 3 22
205 207
201 203
203 207
5555 23 2
1322 2365
3851 3853
2367 3788
243 1156
241 5461
1172 1174
3849 4463
3788 3845
1316 3847
1164 1316
1166 1314
3485 3487
1318 1320
4475 4500
1316 4463
1168 1170
1172 1314
5457 5459
1322 3845
241 1160
241 1158
4500 5461
241 1162
4823 6 25
176 178
180 182
186...

output:

574581746
0
639518668
984685037
527046975
2935930
510222993
525550099
505095886
453668467

result:

ok 10 numbers

Test #5:

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

input:

1
3 0 1000000

output:

442351663

result:

ok 1 number(s): "442351663"

Test #6:

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

input:

100
446529 5 564
165407 224951
231293 377070
224951 437972
231293 437972
224951 231293
691943 11 3129
505736 505744
505744 505746
505734 505760
505740 505742
505750 505754
505750 505752
338635 505732
505744 505748
505756 505758
505746 505748
505738 505740
742693 14 1079
152958 173780
285430 346740
3...

output:

90120052
151531415
593325636
242307448
704625814
316388048
526209078
184114334
813753299
470176757
966199688
649704391
427685051
421025923
186007403
460100393
351337390
685436163
608833107
623782275
183202034
484038053
661407475
502539594
906615937
780871351
498623476
127622898
75624675
510026910
19...

result:

ok 100 numbers

Test #7:

score: -100
Wrong Answer
time: 7ms
memory: 28280kb

input:

1000
143316318 20 141743
119500170 120868910
120868910 140168048
81510625 81768979
51437814 140168048
61849864 65004525
120868910 136274441
81768979 112484611
118363972 120868910
81768979 118363972
81768979 96451407
75669370 81510625
59943701 118363972
61849864 81768979
65004525 75669370
59943701 61...

output:

577179282
477968222
204515719
-637872889
-535696579
256406514
876484208
-498983834
410134021
416505025
0
360519978
442086087
792914402
474435746
586966764
-291438225
780796761
747480538
214277353
252132444
407293686
-485720698
377481911
-577199774
722538682
600533510
925801544
153218712
523635569
29...

result:

wrong answer 1st numbers differ - expected: '90762990', found: '577179282'