QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#371905#244. Turn Off The Lighttxl162110 609ms26112kbC++174.0kb2024-03-30 17:51:432024-03-30 17:51:45

详细

Test #1:

score: 0
Wrong Answer
time: 609ms
memory: 26112kb

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
1
-1
6
0
10
2
12
2
24
12
26
0
22
14
36
6
40
20
38
8
60
40
58
24
62
42
60
0
47
29
56
21
80
50
83
13
90
60
93
34
87
57
80
19
120
90
123
64
117
87
110
40
123
93
120
67
118
88
129
0
77
59
104
39
116
74
113
31
150
108
147
70
153
111
152
25
168
126
165
88
171
129
170
52
165
123
168
85
154
112
159
35
210...

result:

wrong answer 2nd lines differ - expected: '5', found: '1'