QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#173270 | #7179. Fischer's Chess Guessing Game | ucup-team1060# | AC ✓ | 43ms | 3604kb | C++20 | 5.4kb | 2023-09-09 22:50:41 | 2023-09-09 22:50:41 |
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: 7ms
memory: 3516kb
input:
GAME 1 4 3 3 6 8 END
output:
RQKBBNRN RQKNBRNB RNKRBBQN RKRBBNNQ RKRBBQNN
result:
ok (c) correct after 1 tests, max moves 5 (1 test case)
Test #2:
score: 0
Accepted
time: 18ms
memory: 3500kb
input:
GAME 1 4 3 3 6 8 GAME 2 5 3 2 6 8 GAME 3 4 3 2 3 8 GAME 4 4 1 3 2 8 GAME 5 3 2 4 6 8 GAME 6 3 1 2 6 8 GAME 7 3 1 5 5 8 GAME 8 3 1 6 6 8 GAME 9 2 3 1 3 6 8 GAME 10 3 0 2 6 8 GAME 11 2 4 6 8 GAME 12 3 0 3 5 8 GAME 13 2 3 3 5 8 GAME 14 2 2 3 5 8 GAME 15 1 1 8 GAME 16 2 3 3 6 8 GAME 17 2 2 4 6 8 GAME 18...
output:
RQKBBNRN RQKNBRNB RNKRBBQN RKRBBNNQ RKRBBQNN RQKBBNRN RQKRBNNB RNKRQBBN RKRBBNNQ RKRBBNQN RQKBBNRN RQKNBRNB RNKRBBQN RKQBNRBN RKRBBNNQ RQKBBNRN RQKNBRNB RNBBKQRN BQNBRKRN RKRBQNBN RQKBBNRN NRBBQKRN RKNBQNBR RKRBNNBQ RKRBNQBN RQKBBNRN NRBBQKRN RKNRBBQN RKRBNQBN RKRBNNBQ RQKBBNRN NRBBQKRN RKNRBBQN RKR...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #3:
score: 0
Accepted
time: 14ms
memory: 3512kb
input:
GAME 1 4 3 2 4 8 GAME 2 3 1 4 5 8 GAME 3 4 2 3 2 8 GAME 4 3 1 2 5 8 GAME 5 3 2 8 GAME 6 2 6 4 8 GAME 7 2 4 4 6 8 GAME 8 2 4 5 2 8 GAME 9 2 3 1 5 3 8 GAME 10 1 0 2 3 2 8 GAME 11 1 0 1 3 2 8 GAME 12 1 0 2 4 2 8 GAME 13 4 4 3 3 8 GAME 14 5 5 3 8 GAME 15 4 4 2 5 8 GAME 16 4 2 4 5 8 GAME 17 3 1 3 1 3 8 G...
output:
RQKBBNRN RQKNBRNB RNKRBBQN RKQBNRBN RKQBBNNR RQKBBNRN NRBBQKRN RKNRBBQN RKRNBQNB RKNBBQNR RQKBBNRN RQKNBRNB RNKBRNBQ RKBRNQNB RKNBBNQR RQKBBNRN NRBBQKRN RKNRBBQN RKRBNQBN RKQBNNBR RQKBBNRN NRBBQKRN RKNBQNBR RQKBBNRN RKBBNQNR RKRQNBBN RKNBNQBR RQKBBNRN RKBBNQNR RKNRBQNB RKRNBBNQ RKQNBBNR RQKBBNRN RKB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #4:
score: 0
Accepted
time: 41ms
memory: 3504kb
input:
GAME 1 3 2 0 2 8 GAME 2 3 3 1 0 1 8 GAME 3 2 1 4 5 3 8 GAME 4 3 1 2 0 3 8 GAME 5 2 2 3 0 8 GAME 6 3 2 1 3 3 8 GAME 7 2 1 4 5 0 8 GAME 8 2 0 4 2 8 GAME 9 1 0 1 5 0 8 GAME 10 2 1 3 8 GAME 11 2 0 2 2 1 8 GAME 12 1 1 2 0 1 8 GAME 13 3 3 2 2 2 8 GAME 14 4 1 2 2 8 GAME 15 3 2 2 4 8 GAME 16 2 1 4 6 8 GAME ...
output:
RQKBBNRN NRBBQKRN RKNBQNBR RNQKBRNB QRKRBBNN RQKBBNRN NRBBQKRN RBBKNQRN RQNNKRBB RKRBBNNQ NRKRBBQN RQKBBNRN RKBBNQNR BRKNNBRQ BRKRQBNN RKRBBNNQ NRKRBBNQ RQKBBNRN NRBBQKRN RKNRBBQN RKRBNQBN RKRBBNNQ QRKRBNNB RQKBBNRN RKBBNQNR RNKNRQBB RKNQRBBN NRKRBQNB RQKBBNRN NRBBQKRN RKNBQNBR RNBKRNQB RKRBBNQN NRK...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #5:
score: 0
Accepted
time: 37ms
memory: 3504kb
input:
GAME 1 3 1 4 1 8 GAME 2 2 1 1 4 2 8 GAME 3 1 3 2 3 2 8 GAME 4 3 0 4 3 8 GAME 5 2 1 0 2 3 8 GAME 6 1 4 3 5 8 GAME 7 2 3 0 1 3 8 GAME 8 2 3 1 2 1 8 GAME 9 1 1 3 4 8 GAME 10 3 1 3 3 1 8 GAME 11 3 1 5 2 8 GAME 12 2 2 1 0 4 8 GAME 13 2 2 2 3 2 8 GAME 14 2 1 0 6 8 GAME 15 1 1 4 3 1 8 GAME 16 2 4 3 1 2 8 G...
output:
RQKBBNRN NRBBQKRN RKNRBBQN RKRNBQNB RQNKRBBN RQKBBNRN RKBBNQNR BRKNNBRQ RBQNKRBN RKRNBBNQ RNQKRBBN RQKBBNRN BNRKRNQB RNBNKRQB RBKRNNBQ RKRBBNNQ RNNKRBBQ RQKBBNRN NRBBQKRN RBKNRNBQ RQKRNBBN RQNKRNBB RQKBBNRN RKBBNQNR BRKNNBRQ RBNQKRBN RKRBNNBQ RNQKRNBB RQKBBNRN BNRKRNQB BNRNKQRB RNKBRQBN RNNKRQBB RQK...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #6:
score: 0
Accepted
time: 43ms
memory: 3520kb
input:
GAME 1 2 2 0 1 0 8 GAME 2 2 1 3 1 0 8 GAME 3 1 1 3 2 0 8 GAME 4 2 2 1 2 1 8 GAME 5 2 1 2 3 0 8 GAME 6 1 2 4 4 1 8 GAME 7 3 3 3 0 2 8 GAME 8 3 4 2 2 8 GAME 9 2 0 2 8 GAME 10 3 2 2 2 2 8 GAME 11 3 3 2 1 2 8 GAME 12 2 1 2 4 2 8 GAME 13 0 4 3 2 8 GAME 14 0 2 4 2 1 8 GAME 15 0 3 4 0 8 GAME 16 0 3 5 4 8 G...
output:
RQKBBNRN RKBBNQNR RNKNRQBB BRNBQNKR RKRBBNNQ QRBKNBRN RQKBBNRN RKBBNQNR BRKNNBRQ QRKRNNBB RKRQBNNB NRBKQBRN RQKBBNRN BNRKRNQB RKRNNBBQ RKBRNQNB RKRBQNBN NRBKNBRQ RQKBBNRN RKBBNQNR RNKNRQBB NRQBKNBR RKRBBNNQ QRBKNNRB RQKBBNRN RKBBNQNR BRKNNBRQ NRKQBRNB RKRBBQNN NRBKQNRB RQKBBNRN BNRKRNQB BRNNKQRB BRK...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #7:
score: 0
Accepted
time: 37ms
memory: 3508kb
input:
GAME 1 2 3 0 1 2 8 GAME 2 2 2 2 2 2 8 GAME 3 1 0 8 GAME 4 2 1 1 8 GAME 5 2 1 0 8 GAME 6 1 0 6 1 8 GAME 7 4 4 8 GAME 8 3 3 3 2 4 8 GAME 9 2 4 2 6 8 GAME 10 2 3 1 2 2 8 GAME 11 1 2 2 8 GAME 12 1 3 8 GAME 13 4 3 2 5 8 GAME 14 3 2 3 3 8 GAME 15 2 2 3 3 2 8 GAME 16 2 1 1 5 1 8 GAME 17 1 2 3 4 1 8 GAME 18...
output:
RQKBBNRN RKBBNQNR NQRBNKBR RKRNBNQB RKRBQNBN RBBQKRNN RQKBBNRN RKBBNQNR RNKNRQBB RKNRQBBN RKRNBBNQ RBBNKRQN RQKBBNRN BNRKRNQB RBBNKRNQ RQKBBNRN RKBBNQNR BRKNNBRQ RBQNKRBN RQKBBNRN RKBBNQNR BRKNNBRQ RBNQKRBN RQKBBNRN BNRKRNQB RBBNKRNQ RKRBBQNN RBNNKRBQ RQKBBNRN RQKNBRNB RQBBKRNN RQKBBNRN NRBBQKRN RBB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #8:
score: 0
Accepted
time: 33ms
memory: 3516kb
input:
GAME 1 2 2 1 6 8 GAME 2 2 2 1 8 GAME 3 1 0 1 4 2 8 GAME 4 0 2 4 3 8 GAME 5 0 4 4 3 8 GAME 6 0 3 5 1 8 GAME 7 1 2 2 4 3 8 GAME 8 1 3 4 2 3 8 GAME 9 0 1 2 4 8 GAME 10 3 2 1 0 3 8 GAME 11 2 1 1 3 2 8 GAME 12 1 3 3 5 8 GAME 13 1 3 4 1 2 8 GAME 14 0 2 0 2 8 GAME 15 0 2 1 0 8 GAME 16 1 1 3 0 2 8 GAME 17 1...
output:
RQKBBNRN RKBBNQNR RNKNRQBB NRQBKNBR QRNBKNBR RQKBBNRN RKBBNQNR RNKNRQBB NRQBKNBR RQKBBNRN BNRKRNQB RBBNKRNQ NRKNQBBR RKRBBQNN NRNBKQBR RQKBBNRN NRQKNRBB NRBNQBKR RKRNQBBN QRNNKBBR RQKBBNRN NRQKNRBB NRNKRBBQ RKRNQBBN NRQNKBBR RQKBBNRN NRQKNRBB NRBQNBKR RKBRNBNQ NRNQKBBR RQKBBNRN BNRKRNQB BRNNKQRB RNB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #9:
score: 0
Accepted
time: 25ms
memory: 3532kb
input:
GAME 1 1 1 0 3 2 8 GAME 2 0 1 5 1 8 GAME 3 1 2 1 4 0 8 GAME 4 1 1 1 1 1 8 GAME 5 1 1 1 2 0 8 GAME 6 0 2 2 2 0 8 GAME 7 0 0 2 3 8 GAME 8 1 0 3 4 8 GAME 9 0 1 3 3 0 8 GAME 10 0 1 3 2 0 8 GAME 11 1 0 1 4 0 8 GAME 12 0 3 3 1 8 GAME 13 3 4 8 GAME 14 3 5 4 8 GAME 15 2 3 2 2 2 8 GAME 16 4 3 3 2 8 GAME 17 4...
output:
RQKBBNRN BNRKRNQB RKRNNBBQ RBBKRNQN RKRBBNNQ QBBRKNNR RQKBBNRN NRQKNRBB QBBRNKNR BRKRNBQN NBBRKQNR RQKBBNRN BNRKRNQB BRNNKQRB NBRNBKQR RKRBBQNN NBBRKNQR RQKBBNRN BNRKRNQB RKRNNBBQ NRBBNKQR RQKRBBNN QBNRKNBR RQKBBNRN BNRKRNQB RKRNNBBQ NRBBNKQR RKRQBBNN NBQRKNBR RQKBBNRN NRQKNRBB NRBNQBKR RKRBNQBN RKR...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #10:
score: 0
Accepted
time: 39ms
memory: 3560kb
input:
GAME 1 0 1 5 2 8 GAME 2 0 0 8 GAME 3 0 1 4 2 2 8 GAME 4 2 4 1 1 3 8 GAME 5 1 3 1 4 3 8 GAME 6 1 4 3 2 8 GAME 7 1 1 2 2 3 8 GAME 8 1 1 1 3 3 8 GAME 9 1 2 1 8 GAME 10 0 2 2 3 8 GAME 11 0 3 4 1 8 GAME 12 0 2 4 4 8 GAME 13 2 3 4 3 4 8 GAME 14 3 3 0 1 8 GAME 15 2 2 1 3 4 8 GAME 16 1 2 0 4 2 8 GAME 17 2 3...
output:
RQKBBNRN NRQKNRBB QBBRNKNR BRKRNBQN BBRQNKNR RQKBBNRN NRQKNRBB BBRNQKNR RQKBBNRN NRQKNRBB QBBRNKNR RKRNBBNQ RKRBBNQN BBRNNKQR RQKBBNRN RKBBNQNR RKNRBQNB RBKRNNBQ RKRBBQNN BQRBNKNR RQKBBNRN BNRKRNQB RNBNKRQB BNNBRQKR RKRBBNNQ BNRBQKNR RQKBBNRN BNRKRNQB BNRNKQRB RNKBRQBN BNRBNKQR RQKBBNRN BNRKRNQB RKR...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #11:
score: 0
Accepted
time: 27ms
memory: 3604kb
input:
GAME 1 5 4 1 8 GAME 2 4 2 4 3 8 GAME 3 3 1 3 3 2 8 GAME 4 3 0 2 3 2 8 GAME 5 2 2 3 2 1 8 GAME 6 2 2 2 3 3 8 GAME 7 2 3 3 3 2 8 GAME 8 2 2 0 8 GAME 9 1 1 1 4 2 8 GAME 10 0 3 5 2 8 GAME 11 0 2 4 1 2 8 GAME 12 0 1 1 1 8 GAME 13 2 4 0 2 8 GAME 14 2 3 3 2 2 8 GAME 15 1 0 1 3 1 8 GAME 16 0 2 6 2 8 GAME 17...
output:
RQKBBNRN RQKRBNNB RBKRNQBN RQNBBNKR RQKBBNRN RQKNBRNB RNKBRNBQ RKRBQNBN RNQBBNKR RQKBBNRN NRBBQKRN RKNRBBQN RKRBBNNQ RKRBNNBQ RNNBBQKR RQKBBNRN NRBBQKRN RBKNRNBQ RKRNBQNB RKRBBNNQ RQNNBBKR RQKBBNRN RKBBNQNR RNKNRQBB RKNQRBBN RKRBNNBQ RNQNBBKR RQKBBNRN RKBBNQNR RNKNRQBB RKNRQBBN RKRNBBQN RNNQBBKR RQK...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Extra Test:
score: 0
Extra Test Passed