QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#505526 | #5943. Reordering Train Cars | xiaowuc1 | 35 ✓ | 2ms | 3848kb | C++17 | 5.4kb | 2024-08-05 05:56:19 | 2024-08-05 05:56:20 |
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
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 0ms
memory: 3540kb
input:
100 7 yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyy llllllllllllllllllluuuuuuuuuuuuuuuwwwwwwwwwwwwwwwwwwwww nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn qqqqbbbbbbttoooaaagggggccccccccdddddjjjjjjjjjpppphhhhhmmmmmmmmkkkkkkvvvvfffrrrrrrrrrsssszzzzzzziii lllllllllllllllllllll wwwwwwww...
output:
Case #1: 12 Case #2: 1 Case #3: 362880 Case #4: 1 Case #5: 362880 Case #6: 24 Case #7: 6 Case #8: 1 Case #9: 5040 Case #10: 2 Case #11: 2 Case #12: 240 Case #13: 2 Case #14: 1 Case #15: 24 Case #16: 2 Case #17: 2 Case #18: 0 Case #19: 1 Case #20: 1 Case #21: 720 Case #22: 1 Case #23: 0 Case #24: 2 C...
result:
ok 100 lines
Subtask #2:
score: 25
Accepted
Test #2:
score: 25
Accepted
time: 2ms
memory: 3848kb
input:
100 84 iiiiiiiiiiiiiiiiiiiii eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii jjjjjjjjjjjjjjjjj...
output:
Case #1: 118899581 Case #2: 453427928 Case #3: 330796662 Case #4: 466874498 Case #5: 0 Case #6: 871850937 Case #7: 512838659 Case #8: 180172049 Case #9: 3628800 Case #10: 8 Case #11: 1 Case #12: 147103896 Case #13: 1244160 Case #14: 461238464 Case #15: 296105231 Case #16: 993377250 Case #17: 3007054...
result:
ok 100 lines
Extra Test:
score: 0
Extra Test Passed