QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#125289#5520. Distance ParitiesHuangHanShengWA 78ms7444kbC++171.8kb2023-07-16 14:52:292023-07-16 14:52:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
6
1 2 
1 4 
2 3 
2 5 
3 4 
4 5 

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 78ms
memory: 7444kb

input:

1
500
001001010000101001100000100011101011010001100110010000011000001100000011010001001111001010010101110100000100011000110111100010001000010111111000000101101010011111000010110010111100111110111000010000100100010010001110000100111000001111101011111101111110111110001000111110001011111100110011100100...

output:

NO

result:

wrong answer Jury found the answer but participant didn't (test case 1)