QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#102144#6190. Graph Problem99pts_WAWA 3ms12244kbC++204.2kb2023-05-02 13:38:312023-05-02 13:38:33

详细

Test #1:

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

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

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:

0010000010
1010100100
0000010101
0010101001
1000010000
1111001101
0001011100
1100000010
0001111010
0100110101
0011001001
0001000101
1001000000
1010001100
1000000000
0111000001
1000101000
1001101010
0111001101
1111000100
0011000001
0110000000
0000000111
0001010010
1000101000
1001100000
1000110011
001...

result:

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