QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#113977#880. Film Criticslmq26052003WA 1ms3704kbC++201.1kb2023-06-20 11:56:592023-06-20 11:57:01

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3688kb

input:

5 10 30
10 5 3 1 3

output:

5 3 2 1 4 

result:

ok OK!

Test #2:

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

input:

5 5 20
5 3 3 3 3

output:

impossible

result:

ok OK!

Test #3:

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

input:

5 10 20
6 1 9 3 2

output:

1 4 3 5 2 

result:

ok OK!

Test #4:

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

input:

5 10 20
5 3 10 7 10

output:

3 5 4 1 2 

result:

ok OK!

Test #5:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

5 10 30
1 0 1 8 5

output:

3 1 5 4 2 

result:

ok OK!

Test #6:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

5 10 30
2 0 5 4 2

output:

5 1 2 4 3 

result:

ok OK!

Test #7:

score: 0
Accepted
time: 1ms
memory: 3504kb

input:

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

output:

impossible

result:

ok OK!

Test #8:

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

input:

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

output:

75 73 1 72 5 14 71 22 26 23 24 19 32 17 38 44 89 51 62 87 4 34 50 56 79 83 94 59 95 10 21 39 52 55 57 65 86 97 3 6 8 18 27 29 47 54 67 70 91 96 98 28 37 41 42 43 74 85 100 45 33 31 25 99 84 80 69 68 66 49 40 12 2 93 92 90 77 58 53 46 36 9 88 82 81 78 64 48 30 15 13 11 76 63 61 60 35 20 16 7 

result:

ok OK!

Test #9:

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

input:

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

output:

73 67 27 24 83 1 21 13 3 100 8 95 86 50 58 57 37 36 64 31 87 4 7 14 20 93 22 88 32 82 38 79 39 52 42 40 56 11 60 10 80 5 81 2 90 25 26 61 63 74 85 89 99 12 16 28 33 34 35 45 49 53 54 65 66 76 84 92 18 29 41 48 69 70 97 15 30 43 44 46 75 77 78 94 9 17 23 59 71 91 96 98 72 68 62 55 51 47 19 6 

result:

ok OK!

Test #10:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

1 1234 1234
1013

output:

1 

result:

ok OK!

Test #11:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

1 1234 1233
624

output:

impossible

result:

ok OK!

Test #12:

score: -100
Wrong Answer
time: 0ms
memory: 3688kb

input:

1 1234 0
687

output:

0 

result:

wrong answer Contestant printed N integers, but it wasn't a permutation.