QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#216053#7105. Pixel Artucup-team2108WA 159ms17792kbC++142.4kb2023-10-15 15:26:572023-10-15 15:26:57

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 8900kb

input:

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

output:

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

result:

ok 7 lines

Test #2:

score: -100
Wrong Answer
time: 159ms
memory: 17792kb

input:

2130
2 5 2
1 1 1 2
2 3 2 5
2 5 2
1 1 1 3
2 3 2 5
3 3 3
1 1 1 2
3 1 3 2
1 3 2 3
3 100 51
1 2 2 2
1 4 2 4
1 6 2 6
1 8 2 8
1 10 2 10
1 12 2 12
1 14 2 14
1 16 2 16
1 18 2 18
1 20 2 20
1 22 2 22
1 24 2 24
1 26 2 26
1 28 2 28
1 30 2 30
1 32 2 32
1 34 2 34
1 36 2 36
1 38 2 38
1 40 2 40
1 42 2 42
1 44 2 44
...

output:

2 1
5 2
3 1
6 1
3 1
4 1
6 2
50 50
100 50
200 1
merge 1 to 0
merge 3 to 0
merge 5 to 0
merge 7 to 0
merge 9 to 0
merge 11 to 0
merge 13 to 0
merge 15 to 0
merge 17 to 0
merge 19 to 0
merge 21 to 0
merge 23 to 0
merge 25 to 0
merge 27 to 0
merge 29 to 0
merge 31 to 0
merge 33 to 0
merge 35 to 0
merge ...

result:

wrong answer 11th lines differ - expected: '50 50', found: 'merge 1 to 0'