QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#819518#9656. Edge, Path, Numberucup-team4744AC ✓76ms19140kbC++202.1kb2024-12-18 16:07:372024-12-18 16:07:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 76ms
memory: 19140kb

input:

100
8 10 7 2 0
6 1 0
3 1 0
5 4 0
8 2 0
6 1 0
4 3 0
7 8 0
1 6 0
6 1 0
2 6 0
5 9 2 1 0
4 5 0
3 5 0
5 4 0
5 4 0
2 3 0
4 5 0
5 4 0
4 5 0
1 4 0
10 10 6 1 0
1 7 0
9 5 0
8 2 0
7 10 0
4 10 0
6 8 0
3 4 0
4 10 0
2 10 0
5 2 0
10 9 2 1 0
4 6 0
7 5 0
3 10 0
2 9 0
9 10 0
5 10 0
8 1 0
6 10 0
1 4 0
9 10 6 2 1
7 8 0...

output:

Case 1: 216
Case 2: 25
Case 3: 0
Case 4: 5
Case 5: 0
Case 6: 0
Case 7: 0
Case 8: 1
Case 9: 0
Case 10: 0
Case 11: 0
Case 12: 5
Case 13: 0
Case 14: 120
Case 15: 0
Case 16: 0
Case 17: 0
Case 18: 99
Case 19: 0
Case 20: 5
Case 21: 6
Case 22: 2
Case 23: 0
Case 24: 6
Case 25: 19
Case 26: 0
Case 27: 21870
C...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed