QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#45928#4565. Rarest InsectsZhaoZiLong0 6ms3940kbC++171.6kb2022-08-24 18:06:222022-08-24 18:06:30

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 3772kb

input:

6
1
2
1
2
1
2
2
2
3
3

output:

8
0 5
8
2
8
0 4
8
2
8
1 4
8
0 3
8
2
8
0 2
8
2
8
1 2
8
0 1
8
2
8
0 0
8
2
8
1 0
8
1 1
8
1 3
8
1 5
8
0 0
8
0 1
8
0 2
8
0 3
8
2
8
0 4
8
2
8
0 5
8
2
8
1 0
8
1 1
8
1 2
8
1 3
8
1 4
8
1 5
8
0 0
8
0 1
8
0 2
8
0 3
8
0 4
8
0 5
8
2
8
1 0
8
1 1
8
1 2
8
1 3
8
1 4
8
1 5
8
0 0
8
0 1
8
0 2
8
0 3
8
0 4
8
0 5
8
1 0
8
...

result:

wrong answer Wrong answer.

Subtask #2:

score: 0
Wrong Answer

Test #24:

score: 0
Wrong Answer
time: 6ms
memory: 3940kb

input:

1000
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2...

output:

8
0 999
8
2
8
0 998
8
2
8
1 998
8
0 997
8
2
8
1 997
8
0 996
8
2
8
1 996
8
0 995
8
2
8
1 995
8
0 994
8
2
8
1 994
8
0 993
8
2
8
1 993
8
0 992
8
2
8
1 992
8
0 991
8
2
8
1 991
8
0 990
8
2
8
1 990
8
0 989
8
2
8
1 989
8
0 988
8
2
8
1 988
8
0 987
8
2
8
1 987
8
0 986
8
2
8
1 986
8
0 985
8
2
8
1 985
8
0 984
...

result:

wrong answer Wrong answer.

Subtask #3:

score: 0
Wrong Answer

Test #43:

score: 0
Wrong Answer
time: 3ms
memory: 3700kb

input:

2
1
2
2

output:

8
0 1
8
2
8
0 0
8
2
8
1 0
8
1 1
8
0 0
8
0 1
8
2
8
1 1
8
1 0
8
0 0
8
0 1
8
1 0
8
1 1
8
3 2147483647

result:

wrong answer Wrong answer.