QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#209361#6385. SwordsHuangHanSheng59 100ms14620kbC++17853b2023-10-10 14:25:532023-10-10 14:25:53

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

1
963837006 731841442

output:

1

result:

ok single line: '1'

Test #2:

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

input:

2
948507270 461613425
139535653 575270914

output:

2

result:

ok single line: '2'

Test #3:

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

input:

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

output:

4

result:

ok single line: '4'

Test #4:

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

input:

500
324871127 81437847
409475382 449147781
489822349 623579845
541818045 840744984
661020437 969739509
798121975 645320144
816860092 800579487
824869844 529655705
465683506 749124928
598994662 884712609
209267210 57701594
429537250 605036253
621863743 894173810
124365859 688557442
292413610 13087016...

output:

6

result:

ok single line: '6'

Test #5:

score: -11
Wrong Answer
time: 1ms
memory: 3724kb

input:

500
683386324 317939718
208613330 798920975
579714620 453381531
345595104 665823464
800877748 211763934
789188460 220973054
588560958 451627488
959388230 76567736
313310279 714219110
533824766 510880778
6504202 999158405
909358811 119409841
889857953 140960955
862319883 173370354
568240503 463420167...

output:

412

result:

wrong answer 1st lines differ - expected: '395', found: '412'

Subtask #2:

score: 0
Wrong Answer

Test #11:

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

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:

2

result:

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

Subtask #3:

score: 34
Accepted

Test #15:

score: 34
Accepted
time: 0ms
memory: 5740kb

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: 0
Accepted
time: 79ms
memory: 14588kb

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: 0
Accepted
time: 82ms
memory: 14600kb

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: 0
Accepted
time: 83ms
memory: 14620kb

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: 25
Accepted

Dependency #3:

100%
Accepted

Test #19:

score: 25
Accepted
time: 4ms
memory: 4196kb

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:

3670

result:

ok single line: '3670'

Test #20:

score: 0
Accepted
time: 100ms
memory: 14532kb

input:

100000
510479463 489292222
933537611 65376980
622558020 377265239
650814330 348371850
729588024 269635598
666967836 296576516
424502231 575332084
928127088 70737745
160552520 837900430
510866167 488723996
136944270 861973154
441695499 557661942
34626465 963043950
609500361 391209630
350038714 648308...

output:

71698

result:

ok single line: '71698'

Test #21:

score: 0
Accepted
time: 96ms
memory: 14536kb

input:

100000
440683823 555666479
370463398 627313426
843032758 154413002
773489219 223267323
252841664 746386660
531007267 464589165
774112697 222641939
11708952 987832338
906599107 92423704
745878756 250192254
155251647 843204032
72172292 926641348
980482192 18675319
536765120 458331670
349658830 6484030...

output:

73931

result:

ok single line: '73931'

Test #22:

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

input:

100000
691972163 306626531
513749351 482632470
163706777 832285992
238007985 758488213
457133340 539281994
415628894 580976712
199948635 796200303
112637259 883560329
875619404 122413776
796396333 200411626
380549127 137681042
653419158 346047011
952312013 47157989
225410688 771255665
329035804 6671...

output:

67457

result:

ok single line: '67457'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%