QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#140443 | #5545. Contingency Plan | chenchi# | TL | 2ms | 3576kb | C++20 | 2.3kb | 2023-08-15 22:26:57 | 2023-08-15 22:26:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3548kb
input:
7 1 2 3 7 2 4 2 5 1 3 3 6
output:
6 2 7 6 6 4 6 5 1 6 3 2
result:
ok AC
Test #2:
score: 0
Accepted
time: 1ms
memory: 3532kb
input:
3 1 2 2 3
output:
-1
result:
ok AC
Test #3:
score: 0
Accepted
time: 1ms
memory: 3468kb
input:
2 2 1
output:
-1
result:
ok AC
Test #4:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
5 2 1 2 3 2 4 4 5
output:
5 1 5 3 2 5 1 4
result:
ok AC
Test #5:
score: 0
Accepted
time: 2ms
memory: 3468kb
input:
5 1 4 3 4 4 5 2 5
output:
2 1 2 3 4 2 1 5
result:
ok AC
Test #6:
score: 0
Accepted
time: 1ms
memory: 3468kb
input:
5 5 2 1 2 4 2 3 4
output:
3 5 3 1 2 3 1 4
result:
ok AC
Test #7:
score: -100
Time Limit Exceeded
input:
20000 1 2 1 3 4 1 5 1 6 1 7 1 1 8 1 9 1 10 1 11 12 1 1 13 14 1 1 15 1 16 17 1 1 18 1 19 20 1 21 1 22 1 1 23 24 1 1 25 26 1 1 27 28 1 29 1 30 1 1 31 1 32 1 33 1 34 1 35 36 1 1 37 1 38 1 39 40 1 41 1 1 42 1 43 44 1 1 45 46 1 1 47 48 1 49 1 1 50 1 51 52 1 53 1 54 1 1 55 56 1 57 1 58 1 1 59 60 1 61 1 1 ...