QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#124708#5520. Distance ParitiesMaMengQiWA 1ms3540kbC++171.5kb2023-07-15 14:16:482023-07-15 14:16:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3540kb

input:

3
3
011
101
110
4
0100
1000
0001
0010
5
01010
10101
01010
10101
01010

output:

YES
3
1 2
1 3
2 3
NO
YES
8
1 2
3 4
1 2
1 4
2 3
2 5
3 4
4 5

result:

wrong answer Multiedges are not allowed (test case 3)