QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#546258#2562. Fake Plastic Trees 2ZhaoZiLongWA 11ms5576kbC++202.9kb2024-09-03 21:44:422024-09-03 21:44:43

详细

Test #1:

score: 100
Accepted
time: 9ms
memory: 5576kb

input:

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

output:

0111
0011
0000

result:

ok 3 tokens

Test #2:

score: -100
Wrong Answer
time: 11ms
memory: 3532kb

input:

100
10 9 18 50
18 0 9 8 11 11 13 16 9 2
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 9 38 50
4 10 11 13 19 6 14 14 20 14
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 9 26 50
6 1 12 7 1 12 20 2 0 12
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 9 29 50
16 13 1 17 20 15 0 3 6 7
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10...

output:

0011000000
0010000000
0111100000
0111111000
0111111100
1111111100
0011111110
0011110000
0100000000
0111111100
0111100000
0111111000
0111111111
0111100000
0111111110
0111111000
0011110000
0011111110
1111111000
0111111111
0111100000
0111110000
0111111000
0111111110
0111111110
0111111110
0111111111
011...

result:

wrong answer 3rd words differ - expected: '0100000000', found: '0111100000'