QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#485654#5982. Campinatoricsucup-team57227 ✓3203ms26332kbC++203.8kb2024-07-20 22:37:212024-07-20 22:37:21

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 15ms
memory: 19236kb

input:

200
19 1
20 2
19 12
2 0
20 2
15 1
20 20
19 0
19 0
20 2
20 2
19 13
12 1
20 1
20 0
20 0
19 1
20 0
19 1
20 2
19 1
20 1
19 1
19 0
15 0
19 1
19 0
19 1
20 0
19 0
19 0
18 1
20 1
19 0
19 1
19 0
20 0
20 2
20 0
8 0
19 0
19 0
7 0
20 0
19 1
19 0
20 0
20 0
12 0
19 1
19 0
2 1
20 0
1 1
19 1
20 1
20 1
20 2
19 1
20 ...

output:

Case #1: 83877484
Case #2: 392459918
Case #3: 181582253
Case #4: 4
Case #5: 392459918
Case #6: 665283313
Case #7: 146326063
Case #8: 873908008
Case #9: 873908008
Case #10: 392459918
Case #11: 392459918
Case #12: 287058085
Case #13: 4567013
Case #14: 404667306
Case #15: 563200757
Case #16: 563200757
...

result:

ok 200 lines

Subtask #2:

score: 21
Accepted

Test #2:

score: 21
Accepted
time: 3203ms
memory: 26332kb

input:

200
934949 48931
901766 30074
973817 573979
2 0
931700 45866
15 1
1000000 1000000
943667 7900
920697 83114
982334 56217
916432 23810
983807 85334
12 1
929600 27439
907024 33794
1000000 0
987245 34283
942744 44106
970207 76199
922436 54866
974825 81676
957610 80907
967145 16661
922693 30126
500005 37...

output:

Case #1: 452715802
Case #2: 13332016
Case #3: 956304070
Case #4: 4
Case #5: 749472970
Case #6: 665283313
Case #7: 641102369
Case #8: 568599712
Case #9: 123461982
Case #10: 516034793
Case #11: 453697404
Case #12: 505607545
Case #13: 4567013
Case #14: 662602444
Case #15: 386409210
Case #16: 660326453
...

result:

ok 200 lines

Extra Test:

score: 0
Extra Test Passed