QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#716810#8128. Alternating Pathsucup-team4074#WA 1ms4656kbC++174.0kb2024-11-06 16:06:072024-11-06 16:06:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
6 6
1 2
2 3
3 1
4 1
5 2
6 3
6 6
1 2
2 3
3 1
3 4
4 5
4 6
4 3
1 2
4 2
2 3

output:

0 0 0 0 0 0 0 
1 0 0 998244352 0 1 0 
0 1 0 0 0 0 0 
0 0 998244352 0 0 0 0 
0 0 0 0 0 0 0 
1 0 0 0 0 0 1 
0 0 0 0 0 0 0 
0 0 0 0 0 998244350 0 
0 0 0 0 998244352 3 0 
1 0 0 0 0 0 1 
0 1 0 0 0 0 0 
0 0 998244352 0 0 0 0 
0 0 0 998244352 0 0 998244352 
0 0 0 0 998244352 0 0 
0 0 0 0 0 3 0 
0 0 0 0 0 0...

result:

wrong output format output must be 'IMPOSSIBLE' or have length m (test case 1)