QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#202643#7398. Triangle TilingZhangYiDeWA 1ms5856kbC++111.7kb2023-10-06 12:46:412023-10-06 12:46:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5856kb

input:

1
4
0
11
010
1101

output:

-
32
-1-
33-1

result:

ok ok

Test #2:

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

input:

909
6
0
11
100
1111
11100
111110
7
0
11
011
1001
10111
100111
1111111
6
0
00
001
1111
11101
111111
8
1
01
111
1111
10111
101110
1101101
11111100
2
1
00
2
0
01
3
0
01
110
7
1
00
011
1010
11011
110111
1111111
8
1
11
111
1011
11010
011110
1101110
01111111
5
1
00
010
1111
10111
6
0
10
011
0101
01111
111...

output:

-
32
3--
3332
333--
33333-
Impossible!
Impossible!
Impossible!
2
--
-
-1
-
-1
33-
Impossible!
2
22
222
2-22
23-2-
-3323-
33-133-
-1111111
Impossible!
Impossible!
Impossible!
Impossible!
2
--
2
--
Impossible!
Impossible!
-
-1
Impossible!
2
22
2--
-3-1
Impossible!
Impossible!
Impossible!
Impossible!
2...

result:

wrong answer jury has a solution while user does not