QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#688600#6109. Similarity GraphHuangHanShengWA 0ms3832kbC++17779b2024-10-30 11:23:452024-10-30 11:23:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3604kb

input:

4
0 1 0 1
1 0 0 0
0 0 0 1
1 0 1 0

output:

YES
1 2 3 4 
2 4 1 3 

result:

ok ok

Test #2:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

6
0 1 0 1 0 1
1 0 0 0 1 0
0 0 0 1 1 1
1 0 1 0 0 0
0 1 1 0 0 0
1 0 1 0 0 0

output:

NO

result:

ok ok

Test #3:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

1
0

output:

YES
1 
1 

result:

ok ok

Test #4:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

2
0 0
0 0

output:

YES
1 2 
2 1 

result:

ok ok

Test #5:

score: 0
Accepted
time: 0ms
memory: 3600kb

input:

2
0 1
1 0

output:

YES
1 2 
1 2 

result:

ok ok

Test #6:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

3
0 0 0
0 0 0
0 0 0

output:

YES
1 2 3 
3 2 1 

result:

ok ok

Test #7:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

3
0 0 0
0 0 1
0 1 0

output:

YES
1 2 3 
3 1 2 

result:

ok ok

Test #8:

score: -100
Wrong Answer
time: 0ms
memory: 3528kb

input:

3
0 0 1
0 0 0
1 0 0

output:

NO

result:

wrong answer P did not found the answer