QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#307264#3929. Incremental Inductionucup-team1005#WA 163ms101404kbC++201.2kb2024-01-18 11:53:422024-01-18 11:53:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3768kb

input:

4
1
01
100

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

5
0
00
100
1100

output:

3

result:

ok single line: '3'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

1

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

2
1

output:

0

result:

ok single line: '0'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

2
0

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

3
0
00

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3796kb

input:

3
1
01

output:

1

result:

ok single line: '1'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

7
1
11
111
1111
11111
111111

output:

0

result:

ok single line: '0'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

8
1
11
111
1111
11111
111111
1111111

output:

0

result:

ok single line: '0'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

9
0
00
000
0000
00000
000000
0000000
00000000

output:

0

result:

ok single line: '0'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

10
0
00
000
0000
00000
000000
0000000
00000000
000000000

output:

0

result:

ok single line: '0'

Test #12:

score: 0
Accepted
time: 163ms
memory: 101312kb

input:

5000
1
10
101
1000
10111
111111
1011100
11111111
000000000
1011110101
10101000010
111111010111
1111111111111
10111101010100
111111110111101
0000000001000000
11111111111111111
111111110111101110
1111111111111111111
10000000010000001000
101111010101000010001
1011100001010000100010
10101000010100001000...

output:

0

result:

ok single line: '0'

Test #13:

score: 0
Accepted
time: 151ms
memory: 101404kb

input:

4999
0
11
111
0000
11111
111010
0000000
00000001
111010011
0000000100
11001001101
000000011010
1111111111111
00000001101000
111110111111101
1111101111111011
11101001101110100
111110111111101001
0000000000000000000
01001001101010100001
111010011011101001011
0000000110100010000100
11111111111110111111...

output:

0

result:

ok single line: '0'

Test #14:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

7
0
00
000
1000
11000
111000

output:

6

result:

ok single line: '6'

Test #15:

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

input:

8
0
00
000
0000
10000
111000
1111000

output:

7

result:

wrong answer 1st lines differ - expected: '6', found: '7'