QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#265314#6127. Kawa Examucup-team293#WA 653ms20360kbC++175.8kb2023-11-25 17:48:462023-11-25 17:48:46

詳細信息

Test #1:

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

input:

3
7 5
1 2 1 2 1 2 1
1 2
1 3
2 4
5 6
5 7
3 3
1 2 3
1 2
1 3
2 3
2 3
12345 54321
1 2
1 2
1 1

output:

6 5 5 5 4
1 1 1
1 1 1

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 653ms
memory: 20360kb

input:

5557
2 7
79960 79960
2 2
1 1
1 1
2 2
1 1
2 1
1 2
9 8
21881 70740 70740 21881 22458 22458 639 21881 70740
3 3
1 6
5 8
7 5
5 7
2 3
5 1
7 6
6 7
13064 20716 6746 13064 6746 69225
5 5
4 1
4 1
1 6
4 5
3 2
3 2
8 4
45146 14400 45146 45146 14400 72969 14400 45146
8 6
1 3
4 6
8 3
18 13
48132 37949 92338 92338...

output:

2 2 2 2 2 2 2
6 7 6 6 4 6 6 6
3 3 1 4 3 3 3
7 7 7 7
9 9 9 8 8 8 8 7 9 8 11 9 8
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 7
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
9 10 9
16 16 16 16 16 17 16 16
10 10 11 10 9 9 10 10 10 10 10 10 11 9 10 10 10 10 7 10
9 9 9 9 9 9 9 9 9 4 9 9 9 8 6 9 4 9
...

result:

wrong answer 2nd lines differ - expected: '6 6 7 6 6 6 6 6', found: '6 7 6 6 4 6 6 6'