QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#477987#7991. 最小环ucup-team1005#RE 0ms27416kbC++202.7kb2024-07-14 14:53:382024-07-14 14:53:38

详细

Test #1:

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

input:

4 6
1 2 1
4 3 3
4 1 9
2 4 1
3 1 2
3 2 6

output:

7

result:

ok single line: '7'

Test #2:

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

input:

1 0

output:

-1

result:

ok single line: '-1'

Test #3:

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

input:

1 1
1 1 1

output:

1

result:

ok single line: '1'

Test #4:

score: -100
Runtime Error

input:

258420 258419
33061 33062 767169384
212916 212917 1741339
229881 229882 896760805
173467 173468 273055172
233189 233190 800433307
10157 10158 126766550
174605 174606 552176083
224030 224031 886617880
229102 229103 783848581
67588 67589 510826095
233648 233649 879695751
214453 214454 867104578
153140...

output:


result: