QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#80305#3043. Lexicographically Minimum Walkybw051114#WA 5ms9072kbC++145.4kb2023-02-23 14:03:042023-02-23 14:03:05

详细

Test #1:

score: 100
Accepted
time: 5ms
memory: 9072kb

input:

3 3 1 3
1 2 1
2 3 7
1 3 5

output:

1 7 

result:

ok single line: '1 7 '

Test #2:

score: 0
Accepted
time: 4ms
memory: 8216kb

input:

3 4 1 3
1 2 1
2 1 2
2 3 7
1 3 5

output:

TOO LONG

result:

ok single line: 'TOO LONG'

Test #3:

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

input:

2 0 2 1

output:

IMPOSSIBLE

result:

ok single line: 'IMPOSSIBLE'

Test #4:

score: 0
Accepted
time: 1ms
memory: 8312kb

input:

4 4 1 4
1 2 3
2 3 1
3 1 6
3 4 5

output:

3 1 5 

result:

ok single line: '3 1 5 '

Test #5:

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

input:

2 1 2 1
2 1 7

output:

7 

result:

ok single line: '7 '

Test #6:

score: -100
Wrong Answer
time: 4ms
memory: 8604kb

input:

2 2 1 2
1 2 2
2 1 1

output:

TOO LONG

result:

wrong answer 1st lines differ - expected: '2', found: 'TOO LONG'