QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#875882#6385. SwordsHuangHanSheng34 28ms14440kbC++231.9kb2025-01-30 13:51:462025-01-30 13:51:46

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 11
Accepted
time: 0ms
memory: 5856kb

input:

1
963837006 731841442

output:

1

result:

ok single line: '1'

Test #2:

score: 11
Accepted
time: 1ms
memory: 5856kb

input:

2
948507270 461613425
139535653 575270914

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Wrong Answer
time: 0ms
memory: 5856kb

input:

10
319645572 758298525
812547177 459359946
355467212 304450522
807957797 916787906
239781206 242840396
862552539 873867121
975802175 647540462
425058513 132645393
542726039 946723283
689442435 88379179

output:

6

result:

wrong answer 1st lines differ - expected: '4', found: '6'

Subtask #2:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 0ms
memory: 5860kb

input:

5000
335 370
93 303
246 51
165 259
316 29
272 282
43 25
475 268
124 326
10 161
268 309
351 349
8 130
16 313
381 433
133 293
176 154
84 213
323 315
244 180
18 368
177 184
452 122
233 128
151 337
409 419
487 500
62 440
484 333
489 245
331 62
272 218
22 481
234 89
93 188
123 312
57 278
129 152
496 437
...

output:

3594

result:

wrong answer 1st lines differ - expected: '5', found: '3594'

Subtask #3:

score: 34
Accepted

Test #15:

score: 34
Accepted
time: 1ms
memory: 5864kb

input:

1000
1 999364420
2 998447750
3 998101971
4 997565306
5 997218128
6 996453842
7 996346759
8 991821522
9 991345816
10 991124285
11 989916443
12 989465292
13 988065411
14 987961309
15 986603323
16 986161187
17 984463465
18 983735350
19 982870592
20 981837956
21 979637953
22 979158794
23 977305448
24 97...

output:

943

result:

ok single line: '943'

Test #16:

score: 34
Accepted
time: 25ms
memory: 12772kb

input:

100000
1 35016634
2 42570102
3 347690764
4 483516799
5 999979181
6 1
7 2
8 3
9 10
10 40
11 137
12 235
13 357
14 548
15 3550
16 4870
17 11918
18 16779
19 5106657
20 10114779
21 137389249
22 335861312
23 999827272
24 1
25 6
26 7
27 9
28 37
29 38
30 48
31 63
32 74
33 91
34 1711
35 5585
36 13633
37 3558...

output:

4744

result:

ok single line: '4744'

Test #17:

score: 34
Accepted
time: 28ms
memory: 12772kb

input:

100000
1 999989351
2 999976087
3 999973310
4 999960176
5 999955133
6 999945409
7 999933763
8 999902669
9 999902401
10 999895604
11 999880436
12 999876699
13 999860487
14 999854211
15 999842500
16 713698866
17 999818348
18 999812344
19 999811697
20 999785649
21 999782175
22 999772263
23 999770919
24 ...

output:

97638

result:

ok single line: '97638'

Test #18:

score: 34
Accepted
time: 27ms
memory: 14440kb

input:

100000
1 999997530
2 999977818
3 999956899
4 999953914
5 999933909
6 999909867
7 999898862
8 210007646
9 999895909
10 999893707
11 999892420
12 999890065
13 999884821
14 999867925
15 999840734
16 999837128
17 884505152
18 999807351
19 999787905
20 999785432
21 999781766
22 999772786
23 999737283
24 ...

output:

88337

result:

ok single line: '88337'

Subtask #4:

score: 0
Wrong Answer

Dependency #3:

100%
Accepted

Test #19:

score: 0
Wrong Answer
time: 0ms
memory: 6120kb

input:

5000
554036067 447419575
286571996 702600238
355155911 638389056
138742887 859308810
426700873 569828281
166143489 837972502
850362290 148284081
706854249 287910860
705585203 290062193
587961228 408879212
478810178 518539205
989868658 7423751
937379090 61602176
150815345 849392767
909788438 90994179...

output:

3676

result:

wrong answer 1st lines differ - expected: '3670', found: '3676'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%