UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#96552#1231. 歌唱选票统计zengxin20171000ms1200kbC++206b2020-02-20 10:55:042020-02-20 10:55:05

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

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

input:

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

output:

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

result:

ok 10 lines

Test #2:

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

input:

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

output:

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

result:

ok 10 lines

Test #3:

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

input:

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

output:

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

result:

ok 10 lines

Test #4:

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

input:

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

output:

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

result:

ok 10 lines

Test #5:

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

input:

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

output:

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

result:

ok 10 lines

Test #6:

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

input:

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

output:

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

result:

ok 10 lines

Test #7:

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

input:

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

output:

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

result:

ok 10 lines

Test #8:

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

input:

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

output:

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

result:

ok 10 lines

Test #9:

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

input:

1 9 2 6 8 6 7 6 4 4 9 8 4

output:

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

result:

ok 10 lines

Test #10:

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

input:

7 7 7 6 3 4 5 3 2 2 9 4 9 7

output:

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

result:

ok 10 lines