QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505566#5971. Less Money, More Problemsxiaowuc134 ✓1ms3608kbC++171.8kb2024-08-05 06:09:212024-08-05 06:09:22

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 11
Accepted

Test #1:

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

input:

100
1 1 12
2
1 1 11
3
1 3 15
2 7 10
1 1 3
3
1 3 13
1 4 8
1 4 24
5 15 20 22
1 3 26
5 25 26
1 1 20
11
1 2 27
3 7
1 3 15
3 4 9
1 4 23
2 18 22 23
1 1 20
1
1 3 14
5 9 12
1 2 22
8 18
1 4 16
1 2 4 8
1 3 14
7 10 12
1 4 25
3 7 11 25
1 2 17
4 5
1 2 29
9 27
1 2 30
3 8
1 3 5
1 2 5
1 1 27
1
1 1 2
1
1 1 25
4
1 1 ...

output:

Case #1: 3
Case #2: 3
Case #3: 2
Case #4: 2
Case #5: 1
Case #6: 4
Case #7: 4
Case #8: 4
Case #9: 3
Case #10: 2
Case #11: 4
Case #12: 4
Case #13: 3
Case #14: 4
Case #15: 1
Case #16: 3
Case #17: 2
Case #18: 3
Case #19: 5
Case #20: 4
Case #21: 1
Case #22: 4
Case #23: 1
Case #24: 4
Case #25: 4
Case #26:...

result:

ok 100 lines

Subtask #2:

score: 23
Accepted

Test #2:

score: 23
Accepted
time: 1ms
memory: 3484kb

input:

100
6 9 508796150
20 178 1214 8487 59415 415926 2911534 20380704 142664967
5 7 14365025
90 451 2779 16671 100006 600003 3600039
5 8 70826685
87 444 2660 16000 95957 575756 3454531 20727184
1 1 30
30
1 4 16
1 2 4 8
49 23 847581164
394932402 754759087 843124400 844003753 845027158 845597517 846181320 ...

output:

Case #1: 3
Case #2: 3
Case #3: 3
Case #4: 5
Case #5: 1
Case #6: 6
Case #7: 1
Case #8: 2
Case #9: 2
Case #10: 0
Case #11: 2
Case #12: 10
Case #13: 0
Case #14: 5
Case #15: 4
Case #16: 5
Case #17: 2
Case #18: 4
Case #19: 30
Case #20: 2
Case #21: 2
Case #22: 3
Case #23: 3
Case #24: 1
Case #25: 9
Case #2...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed