QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#118686#4303. New LevelBeyondHeavenWA 1ms3524kbC++173.2kb2023-07-03 21:01:232023-07-03 21:01:25

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3500kb

input:

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

output:

1 2 3 2 

result:

ok n=4, m=4, k=4

Test #2:

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

input:

10 9 3
3 2 3 3 1 2 3 1 1 2
2 1
3 2
4 2
5 3
6 5
7 6
8 6
9 7
10 9

output:

3 2 3 3 1 2 3 1 1 2 

result:

ok n=10, m=9, k=3

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3524kb

input:

239 238 10
6 1 2 10 9 1 8 10 1 10 6 4 5 2 7 8 4 9 7 5 1 3 2 8 1 7 3 4 6 4 2 6 3 10 3 10 5 1 8 8 1 1 2 3 5 5 5 9 3 8 3 4 7 10 7 5 7 8 2 6 8 10 3 3 2 1 7 5 1 4 4 1 9 9 4 2 10 1 6 10 5 3 8 4 4 10 4 4 2 9 9 6 6 8 2 3 2 4 8 5 10 10 3 3 5 1 4 8 4 2 3 6 10 4 10 2 8 2 2 5 7 5 3 3 8 1 7 10 2 8 2 6 3 10 6 5 9...

output:

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

result:

wrong answer Problem condition is not satisfied