QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#221057 | #7179. Fischer's Chess Guessing Game | ucup-team254 | AC ✓ | 18ms | 4960kb | C++20 | 3.5kb | 2023-10-21 05:36:40 | 2023-10-21 05:36: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: 6ms
memory: 4920kb
input:
GAME 1 0 0 6 8 END
output:
BBNRKNRQ NRBNQBKR RKQBBRNN RKRBBQNN
result:
ok (c) correct after 1 tests, max moves 4 (1 test case)
Test #2:
score: 0
Accepted
time: 8ms
memory: 4724kb
input:
GAME 1 0 0 6 8 GAME 2 1 6 4 4 8 GAME 3 2 2 1 1 0 8 GAME 4 1 4 4 6 8 GAME 5 0 0 4 8 GAME 6 2 1 0 2 1 8 GAME 7 0 1 1 3 8 GAME 8 0 2 3 1 8 GAME 9 1 3 3 4 8 GAME 10 1 3 3 3 8 GAME 11 0 1 3 1 8 GAME 12 1 4 2 2 4 8 GAME 13 0 1 3 5 8 GAME 14 0 3 2 0 8 GAME 15 1 2 1 2 2 8 GAME 16 1 2 1 1 1 8 GAME 17 1 2 2 2...
output:
BBNRKNRQ NRBNQBKR RKQBBRNN RKRBBQNN BBNRKNRQ RKNBBRQN RKNBQRBN RKNNBRQB RKRBBNQN BBNRKNRQ QBRNBKRN BNRKNQRB RBNQNKBR NRBQKBRN RKRBBNNQ BBNRKNRQ RKNBBRQN RKBBNQRN RKQBRNBN RKRBQNBN BBNRKNRQ NRBNQBKR RKQBBRNN RKRBNQBN BBNRKNRQ QBRNBKRN BQNNRBKR RNKRBNQB NRBKQNRB RKRBNNBQ BBNRKNRQ NRBNQBKR RQKNNRBB QNR...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #3:
score: 0
Accepted
time: 10ms
memory: 4928kb
input:
GAME 1 1 4 3 2 8 GAME 2 1 5 2 8 GAME 3 2 1 2 2 1 8 GAME 4 1 3 5 3 8 GAME 5 2 0 4 1 4 8 GAME 6 1 4 5 3 8 GAME 7 0 3 4 2 8 GAME 8 1 4 2 4 8 GAME 9 1 5 4 8 GAME 10 0 3 4 1 8 GAME 11 1 3 8 GAME 12 1 3 6 8 GAME 13 2 3 3 1 3 8 GAME 14 3 2 1 4 8 GAME 15 4 2 2 1 8 GAME 16 3 3 0 3 3 8 GAME 17 2 2 2 0 0 8 GAM...
output:
BBNRKNRQ RKNBBRQN RKBBNQRN RKNQRBBN RKQBBNNR BBNRKNRQ RKNBBRQN RBKNBRQN RKNBBQNR BBNRKNRQ QBRNBKRN BQNNRBKR BNRKRNQB BRKRNBQN RKNBBNQR BBNRKNRQ RKNBBRQN RKNQNBBR RKBQNBRN RKQBNNBR BBNRKNRQ QBRNBKRN BRKBQNNR BRQKRNNB BNNBQRKR RKNBQNBR BBNRKNRQ RKNBBRQN RKBBNQRN RKBRNBQN RKNBNQBR BBNRKNRQ NRBNQBKR RQB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #4:
score: 0
Accepted
time: 11ms
memory: 4616kb
input:
GAME 1 1 2 1 3 2 8 GAME 2 1 3 1 1 5 8 GAME 3 2 1 1 8 GAME 4 2 2 1 0 8 GAME 5 1 1 2 3 4 8 GAME 6 2 1 0 6 8 GAME 7 1 1 3 3 1 8 GAME 8 1 1 3 2 8 GAME 9 2 0 2 1 8 GAME 10 2 1 0 4 8 GAME 11 2 0 4 3 8 GAME 12 1 0 0 5 8 GAME 13 1 2 2 0 8 GAME 14 2 1 2 4 8 GAME 15 3 3 5 8 GAME 16 1 1 6 5 8 GAME 17 1 2 1 2 8...
output:
BBNRKNRQ RKNBBRQN NRNBQKBR NQRKBBRN QBRKNRBN QRKRBBNN BBNRKNRQ RKNBBRQN RKNQNBBR QNRBKRBN NRKBBNQR NRKRBBQN BBNRKNRQ QBRNBKRN BQNNRBKR NRKRBBNQ BBNRKNRQ QBRNBKRN BNRKNQRB RBNQNKBR QRKRBNNB BBNRKNRQ RKNBBRQN BRQKRBNN NRQNKRBB NRBBKQNR NRKRBQNB BBNRKNRQ QBRNBKRN BQNNRBKR RNKRBNQB NRKRBNQB BBNRKNRQ RKN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #5:
score: 0
Accepted
time: 13ms
memory: 4760kb
input:
GAME 1 1 3 4 5 8 GAME 2 0 1 2 4 8 GAME 3 2 0 0 1 8 GAME 4 2 0 1 0 3 8 GAME 5 1 1 3 0 8 GAME 6 1 2 2 1 3 8 GAME 7 1 3 1 2 3 8 GAME 8 1 4 4 2 8 GAME 9 2 1 0 1 2 8 GAME 10 1 4 2 6 8 GAME 11 2 3 4 8 GAME 12 3 3 4 2 8 GAME 13 1 3 3 2 8 GAME 14 2 2 1 4 1 8 GAME 15 3 2 0 2 8 GAME 16 0 1 5 5 8 GAME 17 0 2 1...
output:
BBNRKNRQ RKNBBRQN RKNQNBBR RQNKBBNR RQNKRBBN BBNRKNRQ NRBNQBKR RQKNNRBB NNRKRQBB RNQKRBBN BBNRKNRQ QBRNBKRN BRKBQNNR NNBRKRQB RNNKRBBQ BBNRKNRQ QBRNBKRN BRKBQNNR NNBRKBQR RKNBNRBQ RQNKRNBB BBNRKNRQ RKNBBRQN BRQKRBNN BRKBNQNR RNQKRNBB BBNRKNRQ RKNBBRQN NRNBQKBR RBBNNKQR RNKRQBBN RNNKRQBB BBNRKNRQ RKN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #6:
score: 0
Accepted
time: 11ms
memory: 4960kb
input:
GAME 1 1 1 4 6 8 GAME 2 1 1 4 8 GAME 3 2 1 1 4 8 GAME 4 2 2 4 3 4 8 GAME 5 2 1 0 2 8 GAME 6 1 0 1 8 GAME 7 2 4 0 5 8 GAME 8 1 2 2 0 2 8 GAME 9 3 1 1 5 8 GAME 10 3 2 1 3 8 GAME 11 2 2 3 0 3 8 GAME 12 2 2 4 3 8 GAME 13 1 0 5 5 8 GAME 14 2 0 5 3 8 GAME 15 2 0 3 0 8 GAME 16 0 4 2 5 8 GAME 17 0 6 5 4 8 G...
output:
BBNRKNRQ RKNBBRQN BRQKRBNN NRBKQBRN QRBKNBRN BBNRKNRQ RKNBBRQN BRQKRBNN NRBKQBRN BBNRKNRQ QBRNBKRN BQNNRBKR NRKRBBNQ NRBKNBRQ BBNRKNRQ QBRNBKRN BNRKNQRB BRKBNQRN NRNKBQRB QRBKNNRB BBNRKNRQ QBRNBKRN BQNNRBKR RNKRBNQB NRBKQNRB BBNRKNRQ RKNBBRQN BNRKQBNR NRBKNQRB BBNRKNRQ QBRNBKRN BBRNNKQR QRKBBNRN QRN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #7:
score: 0
Accepted
time: 15ms
memory: 4700kb
input:
GAME 1 2 2 0 0 8 GAME 2 2 3 3 1 8 GAME 3 3 2 1 0 8 GAME 4 2 3 3 2 3 8 GAME 5 3 1 4 2 8 GAME 6 4 2 3 4 8 GAME 7 1 4 4 3 8 GAME 8 1 5 4 2 8 GAME 9 2 0 2 1 1 8 GAME 10 1 2 0 0 4 8 GAME 11 1 2 0 1 3 8 GAME 12 1 3 1 3 3 8 GAME 13 2 1 2 0 0 8 GAME 14 1 4 3 3 8 GAME 15 3 0 4 2 8 GAME 16 2 1 3 0 8 GAME 17 1...
output:
BBNRKNRQ QBRNBKRN BNRKNQRB QRNBBNKR RBBQKRNN BBNRKNRQ QBRNBKRN BBRKQRNN QBRKNNBR RBBNKRQN BBNRKNRQ BBRKQNNR BNRQKBRN BRKRNNQB RBBNKRNQ BBNRKNRQ QBRNBKRN BBRKQRNN QBRKNNBR BBQNRKNR RBQNKRBN BBNRKNRQ BBRKQNNR NBBRKRQN NBQRBKRN RBNQKRBN BBNRKNRQ NRBBKNRQ BBRNNKRQ RBKRNNBQ RBNNKRBQ BBNRKNRQ RKNBBRQN RKB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #8:
score: 0
Accepted
time: 14ms
memory: 4672kb
input:
GAME 1 3 2 1 2 8 GAME 2 2 0 4 3 4 8 GAME 3 2 0 3 1 3 8 GAME 4 2 2 0 4 5 8 GAME 5 1 0 2 2 3 8 GAME 6 2 0 2 4 8 GAME 7 3 4 3 4 8 GAME 8 3 3 1 8 GAME 9 4 2 5 5 8 GAME 10 2 2 2 1 1 8 GAME 11 2 2 3 8 GAME 12 3 3 3 1 8 GAME 13 2 2 3 4 8 GAME 14 2 1 1 1 1 8 GAME 15 2 2 4 1 8 GAME 16 2 5 4 8 GAME 17 2 3 4 3...
output:
BBNRKNRQ BBRKQNNR BNRQKBRN BRKRNNQB QRNBKNBR BBNRKNRQ QBRNBKRN BRKBQNNR BRQKRNNB NRKRQNBB NRQBKNBR BBNRKNRQ QBRNBKRN BRKBQNNR RKBBRNNQ BQNBNRKR NRNBKQBR BBNRKNRQ QBRNBKRN BNRKNQRB QRNBBNKR QRNBKRBN QRNNKBBR BBNRKNRQ RKNBBRQN BNRKQBNR QBBNRKNR NQBRNBKR NRQNKBBR BBNRKNRQ QBRNBKRN BRKBQNNR BNNQRBKR NRN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #9:
score: 0
Accepted
time: 18ms
memory: 4960kb
input:
GAME 1 4 3 0 5 8 GAME 2 3 3 1 2 8 GAME 3 4 4 4 2 8 GAME 4 5 4 5 5 8 GAME 5 4 3 0 8 GAME 6 4 2 1 8 GAME 7 2 1 2 1 8 GAME 8 2 0 2 2 0 8 GAME 9 2 0 1 8 GAME 10 3 1 2 2 8 GAME 11 3 1 3 2 8 GAME 12 2 0 1 6 8 GAME 13 2 4 3 3 8 GAME 14 2 5 2 3 8 GAME 15 3 1 2 3 8 GAME 16 2 6 5 8 GAME 17 3 1 2 1 8 GAME 18 4...
output:
BBNRKNRQ NRBBKNRQ BRNKNBRQ NBQRKNBR QBBRKNNR BBNRKNRQ BBRKQNNR BRNKRBNQ BBRNKRQN NBBRKQNR BBNRKNRQ NRBBKNRQ BRNBKNQR BQRBKNRN NBBRKNQR BBNRKNRQ BBNRKRQN BBQRKNNR BBNRQNKR QBNRKNBR BBNRKNRQ NRBBKNRQ BRNKNBRQ NBQRKNBR BBNRKNRQ NRBBKNRQ BBRNNKRQ NBNRKQBR BBNRKNRQ QBRNBKRN BQNNRBKR BNRKRNQB QNBRKBNR BBN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #10:
score: 0
Accepted
time: 14ms
memory: 4668kb
input:
GAME 1 2 3 4 1 8 GAME 2 2 4 6 8 GAME 3 2 4 8 GAME 4 1 1 2 0 6 8 GAME 5 1 1 2 0 8 GAME 6 1 2 3 4 8 GAME 7 1 1 1 2 6 8 GAME 8 1 1 1 2 8 GAME 9 1 2 3 8 GAME 10 1 0 2 5 8 GAME 11 1 0 2 3 0 8 GAME 12 1 0 3 2 5 8 GAME 13 0 1 0 8 GAME 14 0 2 6 8 GAME 15 0 2 8 GAME 16 0 1 2 3 8 GAME 17 0 2 5 5 8 GAME 18 0 3...
output:
BBNRKNRQ QBRNBKRN BBRKQRNN RBNKBRQN BBRQNKNR BBNRKNRQ QBRNBKRN BBRNNKQR BBRNQKNR BBNRKNRQ QBRNBKRN BBRNNKQR BBNRKNRQ RKNBBRQN BRQKRBNN NRQNKRBB BNRBQKNR BQRBNKNR BBNRKNRQ RKNBBRQN BRQKRBNN NRQNKRBB BNRBQKNR BBNRKNRQ RKNBBRQN NRNBQKBR NBRNBKQR BNRBNKQR BBNRKNRQ RKNBBRQN BRQKRBNN BNRBNQKR NBRQBKNR QBR...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #11:
score: 0
Accepted
time: 14ms
memory: 4732kb
input:
GAME 1 2 1 4 5 8 GAME 2 1 3 2 2 3 8 GAME 3 1 4 3 2 4 8 GAME 4 1 3 4 6 8 GAME 5 0 4 5 5 8 GAME 6 1 3 5 3 2 8 GAME 7 2 0 5 4 3 8 GAME 8 3 4 5 4 8 GAME 9 2 0 4 2 8 GAME 10 1 0 3 3 8 GAME 11 2 0 3 0 6 8 GAME 12 2 1 6 8 GAME 13 1 1 1 4 6 8 GAME 14 1 1 1 3 4 8 GAME 15 0 5 8 GAME 16 0 6 6 8 GAME 17 0 6 8 G...
output:
BBNRKNRQ QBRNBKRN BQNNRBKR BQRBNNKR RQNBBNKR BBNRKNRQ RKNBBRQN RKNQNBBR RQKRBBNN QRNBBKNR RNQBBNKR BBNRKNRQ RKNBBRQN RKBBNQRN RKNQRBBN RKQBBNNR RNNBBQKR BBNRKNRQ RKNBBRQN RKNQNBBR RQNKBBNR RQNNBBKR BBNRKNRQ NRBNQBKR NNRQBBKR RNBQNBKR RNQNBBKR BBNRKNRQ RKNBBRQN RKNQNBBR RKBQNBRN RKQBNNBR RNNQBBKR BBN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Extra Test:
score: 0
Extra Test Passed