QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#48086#2562. Fake Plastic Trees 2ShmilyTYWA 3ms4860kbC++231.9kb2022-09-11 16:01:272022-09-11 16:02:37

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 4756kb

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: 3ms
memory: 4860kb

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
0100000000
0010000000
0000111000
0111100000
0010000000
0000000000
0100000000
0011111000
0110000000
0001000000
0011111100
0100000000
0010000000
0010000000
0000000000
0011000000
0111000000
0001100000
0100000000
0100000000
0100000000
0011000000
0011000000
0000111000
0000011110
000...

result:

wrong answer 5th words differ - expected: '0011111000', found: '0000111000'