QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502677#6796. Gifted Composerucup-team1005#WA 575ms9884kbC++201.6kb2024-08-03 11:31:362024-08-03 11:31:37

详细

Test #1:

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

input:

5
a do
p re
a re
a do
p do

output:

1
1
2
2
3

result:

ok 5 lines

Test #2:

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

input:

5
a re
a do
a re
p do
a mi

output:

1
1
2
2
1

result:

ok 5 lines

Test #3:

score: -100
Wrong Answer
time: 575ms
memory: 9884kb

input:

1000000
p do
p do
p do
p do
a do
a do
a do
a do
a do
a do
a do
p do
a do
p do
p do
p do
p do
a do
p do
a do
a do
p do
p do
a do
p do
a do
p do
p do
p do
a do
a do
a do
p do
a do
a do
p do
p do
a do
p do
p do
p do
p do
p do
p do
p do
a do
a do
p do
p do
p do
p do
a do
p do
p do
p do
p do
a do
a do
a ...

output:

1
2
4
5
6
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
...

result:

wrong answer 3rd lines differ - expected: '3', found: '4'