QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#745953#9736. Kind of Bingoucup-team5637#RE 7ms3788kbC++141.3kb2024-11-14 12:38:172024-11-14 12:38:18

詳細信息

Test #1:

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

input:

3
3 5 2
1 4 13 6 8 11 14 2 7 10 3 15 9 5 12
2 3 0
1 6 4 3 5 2
2 3 1000000000
1 2 3 4 5 6

output:

7
5
3

result:

ok 3 number(s): "7 5 3"

Test #2:

score: 0
Accepted
time: 7ms
memory: 3512kb

input:

10000
1 9 7
8 9 1 5 3 7 4 6 2
1 8 2
7 5 1 6 4 2 3 8
1 1 0
1
1 8 3
5 7 8 3 2 1 4 6
1 10 948645336
3 10 1 6 2 8 9 5 7 4
1 1 0
1
1 10 7
5 3 10 8 1 7 4 9 6 2
1 9 6
4 8 5 7 2 6 3 1 9
1 7 1
3 5 1 6 2 7 4
1 6 6
5 3 1 2 4 6
1 1 1
1
1 2 0
1 2
1 1 1
1
1 6 3
5 6 2 4 3 1
1 5 673454194
2 3 1 4 5
1 4 1
1 4 2 3
1 ...

output:

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

result:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 4ms
memory: 3788kb

input:

1000
6 9 7
38 29 47 30 9 34 4 33 6 15 35 13 41 14 25 37 8 43 52 16 23 39 32 21 36 28 27 17 20 50 11 12 10 5 42 46 45 3 2 1 49 19 40 18 22 53 24 26 54 51 44 31 7 48
9 10 0
16 68 8 22 9 49 87 24 3 81 23 75 31 84 40 62 63 83 29 71 39 56 69 7 66 79 26 42 64 27 17 54 18 65 21 10 82 25 36 1 12 57 41 37 47...

output:

9
76
6
3
4
5
34
9
3
4
2
24
1
9
11
30
9
2
2
8
5
69
7
7
7
2
12
42
21
8
5
1
7
4
8
9
48
3
4
1
4
5
4
7
3
9
7
1
10
15
3
7
25
8
1
7
4
1
1
7
10
5
8
15
7
8
3
20
9
27
23
9
8
3
9
7
1
1
1
6
16
5
9
1
2
3
3
17
35
3
31
5
1
18
10
5
1
2
1
35
4
4
3
10
12
2
2
3
7
10
7
7
44
6
13
4
6
23
47
7
22
10
7
23
7
2
7
8
46
7
9
1
...

result:

ok 1000 numbers

Test #4:

score: -100
Runtime Error

input:

10
95 96 140424908
5498 6378 2916 4539 8803 3415 4563 4328 1173 7196 1631 8768 4510 1149 5261 1243 9023 4557 9005 3261 6239 4575 3386 7990 8679 8296 205 7807 8115 1802 1226 7774 5646 363 6461 7941 3470 5282 5621 5223 5492 7931 5821 5182 4388 3489 2681 6481 8871 2112 2630 733 2579 5741 1157 5556 6944...

output:


result: