QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#715271#9477. Topological Sortucup-team3475#WA 1ms5480kbC++201.7kb2024-11-06 11:12:482024-11-06 11:12:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 3 2

output:

 0  0  0  1  0  0 
 0  0  0  0  1  0 
 0  0  0  0  0  1 
 0  0  0  0  0  0 
 0  0  0  0  0  0 
 0  0  0  0  0  0 
 0  0  0  0  0  0 
 0 -1  0  0  0  0 
 0  0  0  0  0  0 
 0  0  0  0  0  0 
 0  0  0  0  0  0 
 0  0  0  0  0  0 
0
 0  0  0  0  0  0 
 0  0  0  0 -1  0 
 0  0  0  0  0  0 
 0  0  0  0  ...

result:

wrong answer 1st words differ - expected: '4', found: '0'