QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270051#856. Cactusucup-team864#WA 44ms12596kbC++231.3kb2023-11-30 14:31:492023-11-30 14:31:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
2 1 100
1 2
6 7 3
1 2
2 3
3 1
4 5
5 6
6 4
1 4

output:

9900
24

result:

ok 2 number(s): "9900 24"

Test #2:

score: -100
Wrong Answer
time: 44ms
memory: 11756kb

input:

50000
9 10 4
4 7
5 2
1 5
7 3
9 6
8 3
3 2
9 1
4 8
6 2
10 11 4
4 1
1 3
5 1
10 9
8 4
1 6
7 9
7 10
8 1
1 9
10 2
10 10 4
7 5
6 9
5 1
9 7
10 9
4 9
5 10
2 3
3 7
3 8
9 10 4
3 9
3 7
5 4
6 2
1 9
6 5
4 2
9 8
5 1
7 8
9 9 4
9 4
4 1
6 3
8 7
2 9
6 7
1 8
6 9
5 2
10 11 4
7 8
6 2
9 10
7 2
2 4
4 7
3 7
3 1
10 6
6 9
5 1...

output:

15120
432
252
5292
2196
432
19692
432
72
720
2196
432
19692
1512
1512
72
19692
1512
1512
432
72
1512
6552
72
2196
13176
432
531360
19692
432
72
13176
6552
432
59040
7140
72
432
252
720
720
432
432
1512
252
432
252
432
252
432
72
1512
2196
720
72
432
5292
59040
1512
72
432
19692
720
432
432
252
432
3...

result:

wrong answer 2nd numbers differ - expected: '34992', found: '432'