QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#296038#1878. No Rest for the WickedhouzhiyuanWA 0ms3820kbC++142.4kb2024-01-01 23:41:372024-01-01 23:41:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 3
2 3 1
1 1 4
1 2 2
1 1 3
1 2
1 3
1 4

output:

2 4 2 3 

result:

ok 4 number(s): "2 4 2 3"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3520kb

input:

1 0
138088047 507565360 682493255

output:

682493255 

result:

ok 1 number(s): "682493255"

Test #3:

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

input:

4 4
1 4 3
2 4 2
2 4 3
3 4 4
1 2
1 3
2 3
3 4

output:

4 4 4 4 

result:

ok 4 number(s): "4 4 4 4"

Test #4:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

4 6
178072496 839649317 45448733
194708659 935253395 946862151
18249835 428083054 205076387
264987407 972905801 813257839
1 2
1 3
1 4
2 3
2 4
3 4

output:

946862151 946862151 946862151 946862151 

result:

ok 4 number(s): "946862151 946862151 946862151 946862151"

Test #5:

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

input:

6 9
28300078 870529222 753188708
536298772 594473950 960983978
529901549 892644015 629235196
243957096 964819865 557992404
816732311 926011948 125114736
542880646 854233712 893836623
1 4
1 6
2 3
2 5
2 6
3 4
3 5
4 5
5 6

output:

960983978 960983978 960983978 960983978 960983978 960983978 

result:

wrong answer 5th numbers differ - expected: '893836623', found: '960983978'