QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#226512#6127. Kawa Examucup-team1364WA 297ms16284kbC++203.7kb2023-10-26 01:38:592023-10-26 01:38:59

詳細信息

Test #1:

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

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: 297ms
memory: 16284kb

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 6 6 6 6 6 6 6
3 3 3 3 3 3 3
7 7 7 7
9 9 9 8 8 8 9 8 8 8 10 8 8
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 8
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 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 ...

result:

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