QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#321219#4834. Trijectionhyforces0 0ms3500kbC++205.1kb2024-02-04 10:28:062024-02-04 10:28:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3500kb

input:

5 4
poly
4 2
.#
##
##
#.
perm
4 1 5 2 3
triang
1 2 4
1 4 5
1 5 7
2 3 4
5 6 7
perm
2 1 3 5 4

output:

5 4
triang
1 2 7
2 3 4
2 4 6
2 6 7
4 5 6
poly
3 3
.##
###
#..
poly
3 3
.##
###
##.
poly
3 3
###
##.
#..

input:

5 4
triang
1 2 7
2 3 4
2 4 6
2 6 7
4 5 6
poly
3 3
.##
###
#..
poly
3 3
.##
###
##.
poly
3 3
###
##.
#..

output:

5 4
poly
4 2
.#
##
##
#.
perm
3 1 4 2 3 
triang
1 2 4
1 4 5
1 5 7
2 3 4
5 6 7
perm
1 1 2 4 4 

result:

wrong answer invalid perm: 3 appeared more than once (test case 2)