QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#546080#2562. Fake Plastic Trees 2HuangHanShengWA 1ms3628kbC++202.0kb2024-09-03 19:36:402024-09-03 19:36:40

詳細信息

Test #1:

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

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: 0ms
memory: 3628kb

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:

0011111111
0011111000
0111111000
0011111110
0011111110
0111111110
0011111110
0011111110
0111100000
0011111110
0111111100
0011111110
0011111111
0111110000
0011111111
0011111110
0011111110
0011111111
0111111110
0011111111
0111110000
0111111000
0111111100
0011111111
0011111111
0011111110
0011111111
001...

result:

wrong answer 1st words differ - expected: '0011000000', found: '0011111111'