QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#182927#5589. Everything Is A NailGuanYunchangWA 1ms3524kbC++1.3kb2023-09-18 19:13:452023-09-18 19:13:46

详细

Test #1:

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

input:

10
1
1
1
0
0
0
0
2
2
2

output:

10

result:

ok single line: '10'

Test #2:

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

input:

10
0
1
2
0
1
2
0
1
2
0

output:

5

result:

ok single line: '5'

Test #3:

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

input:

1
0

output:

1

result:

ok single line: '1'

Test #4:

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

input:

1
1

output:

1

result:

ok single line: '1'

Test #5:

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

input:

1
2

output:

1

result:

ok single line: '1'

Test #6:

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

input:

10
0
0
0
0
0
0
0
0
0
0

output:

10

result:

ok single line: '10'

Test #7:

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

input:

10
1
2
0
1
2
0
1
2
0
1

output:

5

result:

ok single line: '5'

Test #8:

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

input:

10
0
0
0
0
0
2
2
2
1
1

output:

10

result:

ok single line: '10'

Test #9:

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

input:

10
0
2
1
0
0
1
1
0
0
2

output:

7

result:

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