QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#558128#8186. Fast Travel Coloringucup-team1005#WA 0ms3660kbC++201.3kb2024-09-11 14:20:122024-09-11 14:20:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

0 1 1 1 1 1 1 
1 0 1 1 1 1 1 
1 1 0 1 1 1 1 
1 1 1 0 1 1 1 
1 1 1 1 0 1 1 
1 1 1 1 1 0 1 
1 1 1 1 1 1 0 

result:

ok ok

Test #2:

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

input:

2

output:

0 1 1 1 1 1 1 1 1 1 2 2 2 2 
1 0 1 1 1 1 1 1 1 2 2 1 1 1 
1 1 0 1 1 1 1 2 1 1 1 1 2 2 
1 1 1 0 1 1 1 2 2 2 1 2 2 1 
1 1 1 1 0 1 1 2 1 2 2 1 2 2 
1 1 1 1 1 0 1 2 2 1 2 2 1 2 
1 1 1 1 1 1 0 2 2 2 1 1 1 1 
1 1 2 2 2 2 2 0 2 2 2 2 2 2 
1 1 1 2 1 2 2 2 0 2 2 2 2 2 
1 2 1 2 2 1 2 2 2 0 2 2 2 2 
2 2 1 1 2 ...

result:

wrong answer the distance of color 1 between 7 and 10 is more than 2