QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#45491#4565. Rarest InsectsHuangHanSheng0 6ms3844kbC++14632b2022-08-24 11:49:182022-08-24 11:49:20

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 10
Accepted
time: 0ms
memory: 3696kb

input:

6
1
1
2
2
3
3
3
3
3
3
3
3
2
2
2

output:

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

result:

ok 

Test #2:

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

input:

2
2

output:

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

result:

ok 

Test #3:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

2
1

output:

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

result:

ok 

Test #4:

score: 0
Accepted
time: 3ms
memory: 3828kb

input:

3
1
2
2

output:

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

result:

ok 

Test #5:

score: -10
Wrong Answer
time: 4ms
memory: 3844kb

input:

5
1
2
2
3
2
2
2
2
2
2

output:

8
0 0
8
0 1
8
2
8
0 2
8
2
8
0 3
8
2
8
0 4
8
2
8
1 0
8
0 1
8
0 2
8
2
8
0 3
8
2
8
0 4
8
2
8
1 1
8
0 2
8
0 3
8
2
8
0 4
8
2
8
1 2
8
0 3
8
0 4
8
2
8
1 3
8
0 4
8
1 4
8
3 1

result:

wrong answer Wrong answer.

Subtask #2:

score: 0
Wrong Answer

Test #24:

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

input:

1000

output:

8
3 1

result:

wrong answer Wrong answer.

Subtask #3:

score: 0
Wrong Answer

Test #43:

score: 75
Accepted
time: 3ms
memory: 3840kb

input:

2
2

output:

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

result:

ok 

Test #44:

score: 75
Accepted
time: 3ms
memory: 3840kb

input:

2
1

output:

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

result:

ok 

Test #45:

score: 75
Accepted
time: 3ms
memory: 3828kb

input:

3
1
2
2

output:

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

result:

ok 

Test #46:

score: 72.83
Acceptable Answer
time: 3ms
memory: 3828kb

input:

6
2
2
3
4
5
4
4
4
4
3
3
3
3
3
2

output:

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

result:

points 0.97106666670 points  0.97106666670

Test #47:

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

input:

10
1
2
3
3
3
4
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
4
4
4
4
3
3
3
2
2
2

output:

8
0 0
8
0 1
8
2
8
0 2
8
2
8
0 3
8
2
8
0 4
8
2
8
0 5
8
2
8
0 6
8
2
8
0 7
8
2
8
0 8
8
2
8
0 9
8
2
8
1 0
8
0 1
8
0 2
8
2
8
0 3
8
2
8
0 4
8
2
8
0 5
8
2
8
0 6
8
2
8
0 7
8
2
8
0 8
8
2
8
0 9
8
2
8
1 1
8
0 2
8
0 3
8
2
8
0 4
8
2
8
0 5
8
2
8
0 6
8
2
8
0 7
8
2
8
0 8
8
2
8
0 9
8
2
8
1 2
8
0 3
8
0 4
8
2
8
0 5
8
...

result:

wrong answer Wrong answer.