QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#741092 | #9432. Permutation | Huluobo | AC ✓ | 275ms | 4100kb | C++14 | 1.8kb | 2024-11-13 13:19:04 | 2024-11-13 13:19:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 4072kb
input:
5 2 1 0 2 0 0
output:
0 2 2 2 1 1 0 4 4 4 3 3 0 5 5 5 3 3 0 3 3 2 2 2 0 4 3 3 3 3 0 5 5 5 5 1 1 3 4 2 1 5
result:
ok Accepted
Test #2:
score: 0
Accepted
time: 275ms
memory: 4088kb
input:
1000 0 2 2 1 2 2 1 2 0 1 1 1 1 1 0 1 1 1 2 1 1 2 2 1 1 0 1 1 1 0 2 1 2 0 0 2 1 2 2 0 1 2 1 1 1 0 1 2 1 1 1 1 2 1 1 0 2 1 1 1 1 2 0 0 1 0 2 2 1 1 1 0 1 1 0 1 0 0 0 1 1 1 1 0 1 1 1 0 1 0 1 1 0 1 2 2 1 1 1 2 2 1 1 2 1 1 0 0 0 1 0 2 0 0 0 1 1 1 0 1 1 1 1 1 2 1 0 1 1 2 2 1 0 0 1 2 0 1 2 1 1 2 2 2 0 1 0 1...
output:
0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
result:
ok Accepted
Test #3:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
1
output:
1 1
result:
ok Accepted
Test #4:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
2 2
output:
0 2 1 1 2 1
result:
ok Accepted
Test #5:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
3 0 2
output:
0 2 2 1 0 3 1 1 1 3 1 2
result:
ok Accepted
Test #6:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
4 1 2 0 2
output:
0 2 2 1 1 0 3 3 1 1 0 4 3 3 3 0 2 2 2 1 1 3 4 2 1
result:
ok Accepted
Test #7:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
6 2 1 0 2 0 0 0
output:
0 2 2 2 1 1 1 0 4 4 4 3 3 3 0 5 5 5 3 3 3 0 3 3 2 2 2 2 0 4 3 3 3 3 3 0 5 5 5 5 5 1 0 6 6 6 6 1 1 1 3 4 2 1 6 5
result:
ok Accepted
Test #8:
score: 0
Accepted
time: 1ms
memory: 3864kb
input:
7 1 1 0 1 2 1 2 0 2 2 2
output:
0 2 2 2 2 1 1 1 0 3 3 3 3 1 1 1 0 4 4 4 4 1 1 1 0 6 6 6 6 5 5 5 0 7 7 7 7 5 5 5 0 2 2 1 1 1 1 1 0 3 3 1 1 1 1 1 0 7 3 3 3 3 3 3 0 2 2 2 1 1 1 1 0 5 5 5 5 5 5 4 0 6 6 6 6 6 5 5 1 3 7 2 1 6 5 4
result:
ok Accepted
Test #9:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
8 1 1 0 1 2 1 2 0 2 2 0 2 0
output:
0 2 2 2 2 1 1 1 1 0 3 3 3 3 1 1 1 1 0 4 4 4 4 1 1 1 1 0 6 6 6 6 5 5 5 5 0 7 7 7 7 5 5 5 5 0 2 2 1 1 1 1 1 1 0 3 3 1 1 1 1 1 1 0 7 3 3 3 3 3 3 3 0 2 2 2 1 1 1 1 1 0 5 5 5 5 5 5 4 4 0 8 8 8 8 8 8 6 6 0 6 6 6 6 6 5 5 5 0 8 8 8 8 8 8 8 4 1 3 7 2 1 6 5 4 8
result:
ok Accepted
Test #10:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
9 1 1 0 1 2 2 2 1 0 2 0 0 1 0 2 2
output:
0 2 2 2 2 2 1 1 1 1 0 3 3 3 3 3 1 1 1 1 0 4 4 4 4 4 1 1 1 1 0 6 6 6 6 6 5 5 5 5 0 7 7 7 7 7 5 5 5 5 0 9 9 9 9 9 8 8 8 8 0 2 2 2 1 1 1 1 1 1 0 7 7 7 3 3 3 3 3 3 0 9 9 9 3 3 3 3 3 3 0 3 3 2 2 2 2 2 2 2 0 7 3 3 3 3 3 3 3 3 0 9 9 9 9 1 1 1 1 1 0 5 5 5 5 5 5 5 4 4 0 6 6 6 6 6 6 6 4 4 0 5 5 5 5 5 5 4 4 4 ...
result:
ok Accepted
Test #11:
score: 0
Accepted
time: 1ms
memory: 3868kb
input:
10 0 0 1 2 2 2 0 1 0 0 0 2 0 1 0 2 2
output:
0 2 2 2 2 2 1 1 1 1 1 0 4 4 4 4 4 3 3 3 3 3 0 6 6 6 6 6 5 5 5 5 5 0 7 7 7 7 7 5 5 5 5 5 0 9 9 9 9 9 8 8 8 8 8 0 3 3 3 1 1 1 1 1 1 1 0 9 9 9 7 7 7 7 7 7 7 0 7 7 3 3 3 3 3 3 3 3 0 10 10 3 3 3 3 3 3 3 3 0 7 3 3 3 3 3 3 3 3 3 0 9 9 9 9 1 1 1 1 1 1 0 4 4 4 4 4 4 4 4 2 2 0 6 6 6 6 6 6 6 6 5 5 0 5 5 5 5 5 ...
result:
ok Accepted
Test #12:
score: 0
Accepted
time: 1ms
memory: 4028kb
input:
11 0 0 0 0 1 0 2 2 2 1 0 0 0 0 2 0 0 0 0
output:
0 2 2 2 2 2 2 1 1 1 1 1 0 4 4 4 4 4 4 3 3 3 3 3 0 6 6 6 6 6 6 5 5 5 5 5 0 8 8 8 8 8 8 7 7 7 7 7 0 10 10 10 10 10 10 9 9 9 9 9 0 11 11 11 11 11 11 9 9 9 9 9 0 3 3 3 1 1 1 1 1 1 1 1 0 7 7 7 5 5 5 5 5 5 5 5 0 10 10 10 9 9 9 9 9 9 9 9 0 7 7 3 3 3 3 3 3 3 3 3 0 10 10 3 3 3 3 3 3 3 3 3 0 7 3 3 3 3 3 3 3 3...
result:
ok Accepted
Test #13:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
12 0 0 0 0 1 0 2 2 2 1 0 0 0 0 2 1 2 1 0 0 0 0
output:
0 2 2 2 2 2 2 1 1 1 1 1 1 0 4 4 4 4 4 4 3 3 3 3 3 3 0 6 6 6 6 6 6 5 5 5 5 5 5 0 8 8 8 8 8 8 7 7 7 7 7 7 0 10 10 10 10 10 10 9 9 9 9 9 9 0 11 11 11 11 11 11 9 9 9 9 9 9 0 3 3 3 1 1 1 1 1 1 1 1 1 0 7 7 7 5 5 5 5 5 5 5 5 5 0 10 10 10 9 9 9 9 9 9 9 9 9 0 7 7 3 3 3 3 3 3 3 3 3 3 0 10 10 3 3 3 3 3 3 3 3 3...
result:
ok Accepted
Test #14:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
13 0 2 0 0 1 0 2 0 2 2 2 2 2 2 2 2 0 1 2 2 0 2 2
output:
0 2 2 2 2 2 2 2 1 1 1 1 1 1 0 4 4 4 4 4 4 4 3 3 3 3 3 3 0 6 6 6 6 6 6 6 5 5 5 5 5 5 0 8 8 8 8 8 8 8 7 7 7 7 7 7 0 10 10 10 10 10 10 10 9 9 9 9 9 9 0 11 11 11 11 11 11 11 9 9 9 9 9 9 0 13 13 13 13 13 13 13 12 12 12 12 12 12 0 4 4 4 4 1 1 1 1 1 1 1 1 1 0 7 7 7 7 5 5 5 5 5 5 5 5 5 0 10 10 10 10 9 9 9 9...
result:
ok Accepted
Test #15:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
14 0 2 1 2 2 0 2 0 0 1 0 2 2 2 2 2 0 0 1 2 1 2 0 0 0 2
output:
0 2 2 2 2 2 2 2 1 1 1 1 1 1 1 0 4 4 4 4 4 4 4 3 3 3 3 3 3 3 0 6 6 6 6 6 6 6 5 5 5 5 5 5 5 0 7 7 7 7 7 7 7 5 5 5 5 5 5 5 0 9 9 9 9 9 9 9 8 8 8 8 8 8 8 0 11 11 11 11 11 11 11 10 10 10 10 10 10 10 0 13 13 13 13 13 13 13 12 12 12 12 12 12 12 0 4 4 4 4 1 1 1 1 1 1 1 1 1 1 0 9 9 9 9 7 7 7 7 7 7 7 7 7 7 0 ...
result:
ok Accepted
Test #16:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
15 0 2 1 2 2 1 0 0 0 0 0 0 2 2 2 2 2 2 0 0 0 2 1 0 0 2 2 2 1 0 0
output:
0 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 0 4 4 4 4 4 4 4 4 3 3 3 3 3 3 3 0 6 6 6 6 6 6 6 6 5 5 5 5 5 5 5 0 7 7 7 7 7 7 7 7 5 5 5 5 5 5 5 0 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 0 11 11 11 11 11 11 11 11 10 10 10 10 10 10 10 0 12 12 12 12 12 12 12 12 10 10 10 10 10 10 10 0 14 14 14 14 14 14 14 14 13 13 13 13 13 13 13...
result:
ok Accepted
Test #17:
score: 0
Accepted
time: 249ms
memory: 3800kb
input:
975 0 2 2 1 2 2 1 2 0 1 1 1 1 1 0 1 1 1 2 1 1 2 2 1 1 0 1 1 1 0 2 1 2 0 0 2 1 2 2 0 1 2 1 1 1 0 1 2 1 1 1 1 2 1 1 0 2 1 1 1 1 2 0 0 1 0 2 2 1 1 1 0 1 1 0 1 0 0 0 1 1 1 1 0 1 1 1 0 1 0 1 1 0 1 2 2 1 1 1 2 2 2 2 0 0 0 0 1 0 2 0 0 0 1 1 1 0 1 1 1 1 1 2 1 0 1 1 2 2 1 0 0 1 2 0 1 2 1 1 2 2 2 0 1 0 1 0 1 ...
output:
0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 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