QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#613809 | #8939. Permutation | ZhangYiDe | TL | 57ms | 7660kb | C++20 | 2.1kb | 2024-10-05 14:47:44 | 2024-10-05 14:47:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 5ms
memory: 7660kb
input:
3 5 3 2 5 6 6 6 5 3 4 3 2
output:
? 1 5 ? 1 3 ? 4 5 ! 4 ? 1 6 ? 2 6 ? 4 6 ? 2 3 ! 2 ? 1 4 ? 1 3 ! 4
result:
ok Correct (3 test cases)
Test #2:
score: 0
Accepted
time: 57ms
memory: 7656kb
input:
10000 10 2 2 2 3 5 10 10 10 10 8 7 10 5 5 1 6 6 10 4 4 4 4 4 10 10 3 2 10 3 3 3 3 2 10 1 1 5 6 7 10 1 1 3 8 8 10 2 4 9 10 3 3 3 1 5 10 4 7 9 10 8 8 7 1 2 10 4 1 9 10 7 7 7 8 4 10 5 1 10 10 8 6 9 10 2 2 1 7 7 10 6 4 10 10 1 1 3 8 8 10 7 7 5 1 2 10 7 7 4 1 2 10 3 4 10 10 4 4 4 4 3 10 8 8 7 2 2 10 8 8 ...
output:
? 1 10 ? 1 8 ? 1 5 ? 1 3 ? 4 5 ! 4 ? 1 10 ? 3 10 ? 6 10 ? 8 10 ? 6 7 ! 6 ? 1 10 ? 1 8 ? 1 5 ? 6 8 ? 6 7 ! 7 ? 1 10 ? 1 8 ? 1 5 ? 3 5 ? 3 4 ! 3 ? 1 10 ? 3 10 ? 1 2 ! 1 ? 1 10 ? 1 8 ? 1 5 ? 1 3 ? 2 3 ! 1 ? 1 10 ? 1 8 ? 1 5 ? 6 8 ? 6 7 ! 8 ? 1 10 ? 1 8 ? 1 5 ? 6 8 ? 7 8 ! 7 ? 1 10 ? 1 8 ? 9 10 ! 10 ? 1...
result:
ok Correct (10000 test cases)
Test #3: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