QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#102011#6190. Graph ProblemQiulyWA 4ms5736kbC++142.7kb2023-05-02 09:48:322023-05-02 09:48:33

詳細信息

Test #1:

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

input:

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

output:

01
1

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 5736kb

input:

100 4870
1 4
1 9
2 1
2 6
2 8
4 5
4 10
5 2
5 3
5 7
6 2
6 4
6 8
7 1
7 2
7 8
7 10
8 1
8 2
8 3
8 4
8 5
8 6
8 7
8 9
8 13
8 16
8 17
9 1
9 2
9 3
9 4
9 5
9 6
9 7
9 8
9 18
10 1
10 2
10 3
10 4
10 5
10 6
10 7
10 11
10 15
11 1
11 2
11 3
11 4
11 5
11 6
11 7
11 8
11 9
11 10
11 12
11 18
11 20
12 1
12 2
12 3
12 4
1...

output:

1011101010
1111111111
0001011011
1100001011
1001111110
1111111111
0101101100
1111111111
1011111011
1111111111
1100111111
1111111111
1100111111
1011111111
1110101111
1111111111
1011111111
1111111110
1101111110
1111111110
1111100110
1111111111
0000000111
1001110010
1111111001
1111100010
1010111110
111...

result:

wrong answer 1st lines differ - expected: '1011000010', found: '1011101010'