QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#371912#244. Turn Off The Lighttxl162110 608ms25792kbC++174.0kb2024-03-30 17:55:342024-03-30 17:55:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 608ms
memory: 25792kb

input:

146645
2
00
2
10
2
01
2
11
3
000
3
100
3
010
3
110
3
001
3
101
3
011
3
111
4
0000
4
1000
4
0100
4
1100
4
0010
4
1010
4
0110
4
1110
4
0001
4
1001
4
0101
4
1101
4
0011
4
1011
4
0111
4
1111
5
00000
5
10000
5
01000
5
11000
5
00100
5
10100
5
01100
5
11100
5
00010
5
10010
5
01010
5
11010
5
00110
5
10110
5...

output:

0
5
7
6
0
14
10
12
14
24
12
26
0
26
22
36
18
40
20
38
24
60
40
58
24
62
42
60
0
51
37
56
33
80
50
83
29
90
60
93
34
87
57
80
39
120
90
123
64
117
87
110
40
123
93
120
67
118
88
129
0
81
67
104
51
116
74
113
47
150
108
147
70
153
111
152
45
168
126
165
88
171
129
170
52
165
123
168
85
154
112
159
59
...

result:

wrong answer 14th lines differ - expected: '34', found: '26'