QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#36114#877. Company At DangerZhaoZiLongWA 42ms8212kbC++171.2kb2022-06-24 13:31:502022-06-24 13:31:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 6376kb

input:

3 3 3
1 2 2
1 3 2
2 3 3
1 2
1 3
2 3

output:

1
1
0

result:

ok 3 number(s): "1 1 0"

Test #2:

score: 0
Accepted
time: 2ms
memory: 6100kb

input:

7 10 5
1 2 45
2 3 11
2 4 46
3 4 28
3 5 59
3 6 12
3 7 3
4 5 11
5 6 23
6 7 20
1 4
2 6
3 5
1 7
5 5

output:

1
5
0
5
0

result:

ok 5 number(s): "1 5 0 5 0"

Test #3:

score: 0
Accepted
time: 42ms
memory: 8212kb

input:

10000 60059 25000
5140 602 0
5140 4077 546574455686537395
4077 602 546574455686537394
5140 5492 401628381435124761
5492 602 401628381435124763
5140 4907 231352666654267087
4907 602 231352666654267083
5140 9430 281314177097774626
9430 602 281314177097774634
5140 6477 63541404444272256
6477 602 635414...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

ok 25000 numbers

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 6572kb

input:

3 3 1
1 2 1125899906842624
2 3 2251799813685248
1 3 4503599627370496
1 3

output:

0

result:

wrong answer 1st numbers differ - expected: '3377699720527872', found: '0'