QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#171859 | #7179. Fischer's Chess Guessing Game | ucup-team1651# | AC ✓ | 122ms | 11520kb | C++14 | 3.3kb | 2023-09-09 17:42:05 | 2023-09-09 17:42:06 |
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: 11ms
memory: 11520kb
input:
GAME 1 4 2 6 8 END
output:
RQKBBNRN RNBBKNQR RKRNBQNB RKRBBQNN
result:
ok (c) correct after 1 tests, max moves 4 (1 test case)
Test #2:
score: 0
Accepted
time: 113ms
memory: 11284kb
input:
GAME 1 4 2 6 8 GAME 2 5 4 1 8 GAME 3 4 3 4 3 8 GAME 4 4 3 2 4 8 GAME 5 3 1 3 2 3 8 GAME 6 3 1 3 3 2 8 GAME 7 3 1 2 2 2 8 GAME 8 3 2 3 2 2 8 GAME 9 2 2 4 2 3 8 GAME 10 3 1 2 3 8 GAME 11 2 3 2 1 2 8 GAME 12 3 2 4 2 3 8 GAME 13 2 0 4 4 8 GAME 14 2 0 5 2 3 8 GAME 15 1 3 3 5 3 8 GAME 16 2 0 3 2 4 8 GAME ...
output:
RQKBBNRN RNBBKNQR RKRNBQNB RKRBBQNN RQKBBNRN RBNKBNQR RBBNNKRQ RKRBBNQN RQKBBNRN RNBBKNQR RNKBBQNR RBNNBKRQ RKRBBNNQ RQKBBNRN RNBBKNQR RNKBBQNR RBNKQRBN RKRBQNBN RQKBBNRN NRNBBKQR RBNQNKBR RBBNNKRQ RBBNNQKR RKRBNQBN RQKBBNRN NRNBBKQR RBNQNKBR RBBNNKRQ RBBNKRNQ RKRBNNBQ RQKBBNRN NRNBBKQR RBNQNKBR RBB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #3:
score: 0
Accepted
time: 109ms
memory: 11276kb
input:
GAME 1 4 4 1 2 8 GAME 2 3 4 4 2 8 GAME 3 4 5 4 3 8 GAME 4 3 2 2 3 8 GAME 5 3 3 2 2 2 8 GAME 6 2 3 3 6 8 GAME 7 2 3 3 2 2 8 GAME 8 2 3 4 4 8 GAME 9 2 2 4 2 2 8 GAME 10 1 2 4 6 8 GAME 11 1 2 4 8 GAME 12 1 1 0 4 2 8 GAME 13 4 1 3 4 8 GAME 14 5 5 4 8 GAME 15 4 2 3 4 8 GAME 16 4 2 1 4 8 GAME 17 3 0 3 6 8...
output:
RQKBBNRN RNBBKNQR RBBNNKRQ RBBNNQKR RKQBBNNR RQKBBNRN NRNBBKQR RBNKBRNQ RBBNNKQR RKNBBQNR RQKBBNRN RNBBKNQR RBNNBQKR RBBNNKQR RKNBBNQR RQKBBNRN NRNBBKQR RNQNBKRB RBBNNQKR RKQBNNBR RQKBBNRN NRNBBKQR RBNNBKRQ RBBKRNNQ RBBNNKQR RKNBQNBR RQKBBNRN NRKBBQNR RBNKBNQR RNNBKQBR RKNBNQBR RQKBBNRN NRKBBQNR RBN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #4:
score: 0
Accepted
time: 118ms
memory: 11516kb
input:
GAME 1 3 2 1 0 8 GAME 2 3 4 1 1 8 GAME 3 2 5 0 1 8 GAME 4 3 2 2 0 8 GAME 5 2 6 1 0 8 GAME 6 3 4 1 2 8 GAME 7 2 2 1 5 0 8 GAME 8 2 3 0 1 0 8 GAME 9 1 2 1 1 8 GAME 10 2 2 0 0 1 8 GAME 11 2 3 1 4 8 GAME 12 1 1 0 3 1 8 GAME 13 3 2 0 3 8 GAME 14 4 3 2 1 8 GAME 15 3 2 0 1 1 8 GAME 16 2 3 0 3 1 8 GAME 17 2...
output:
RQKBBNRN NRNBBKQR RNQNBKRB RBNKRNBQ QRKRBBNN RQKBBNRN NRNBBKQR RBNKBRNQ RBBNKNQR NRKRBBQN RQKBBNRN NRKBBQNR RBBNNKQR RBBNNKRQ NRKRBBNQ RQKBBNRN NRNBBKQR RNQNBKRB RBBNNQKR QRKRBNNB RQKBBNRN NRKBBQNR RBBKNQRN RBBNNKQR NRKRBQNB RQKBBNRN NRNBBKQR RBNKBRNQ RBBNKNQR NRKRBNQB RQKBBNRN NRKBBQNR RNQKBBNR QRK...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #5:
score: 0
Accepted
time: 122ms
memory: 11512kb
input:
GAME 1 3 1 3 1 2 8 GAME 2 2 0 4 3 2 8 GAME 3 1 3 2 4 8 GAME 4 3 1 3 1 1 8 GAME 5 2 0 3 2 2 8 GAME 6 1 2 4 3 8 GAME 7 2 1 4 5 3 8 GAME 8 2 0 1 3 4 8 GAME 9 1 4 0 4 5 8 GAME 10 3 1 2 4 2 8 GAME 11 3 3 4 5 8 GAME 12 2 2 4 0 3 8 GAME 13 2 0 2 2 3 8 GAME 14 2 0 3 4 2 8 GAME 15 1 3 4 6 3 8 GAME 16 2 1 3 2...
output:
RQKBBNRN NRNBBKQR RBNQNKBR RBBNNKRQ RBBNKRQN RQNKRBBN RQKBBNRN NRKBBQNR RKNNRBBQ RBKRNQBN RBBNKRQN RNQKRBBN RQKBBNRN RNBBNKRQ RBBNKRNQ RBNKQNBR RNNKRBBQ RQKBBNRN NRNBBKQR RBNQNKBR RBBNNKRQ RBBNKRQN RQNKRNBB RQKBBNRN NRKBBQNR RKNNRBBQ RBBKNQRN RBBQNNKR RNQKRNBB RQKBBNRN RNBBNKRQ RKNNQRBB RKNQNBBR RNN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #6:
score: 0
Accepted
time: 100ms
memory: 11312kb
input:
GAME 1 2 1 1 0 3 8 GAME 2 2 2 2 0 1 8 GAME 3 1 4 3 2 8 GAME 4 2 1 1 1 3 8 GAME 5 2 2 1 2 2 8 GAME 6 1 3 1 0 8 GAME 7 3 3 3 2 0 8 GAME 8 3 3 2 1 1 8 GAME 9 2 3 3 1 8 GAME 10 3 3 3 1 8 GAME 11 3 3 2 2 0 8 GAME 12 2 4 0 0 8 GAME 13 0 3 4 5 8 GAME 14 0 2 4 1 1 8 GAME 15 0 4 2 1 8 GAME 16 0 2 6 2 8 GAME ...
output:
RQKBBNRN NRKBBQNR RBBNKQNR RNNQKRBB RBBNNKRQ QRBKNBRN RQKBBNRN NRKBBQNR RNQKBBNR BBRQNNKR RBBNNKQR NRBKQBRN RQKBBNRN RNBBNKRQ NRQNBKRB RBBNKRNQ NRBKNBRQ RQKBBNRN NRKBBQNR RBBNKQNR RNNQKRBB RBBNNKRQ QRBKNNRB RQKBBNRN NRKBBQNR RNQKBBNR QRKNNRBB RBBNNKRQ NRBKQNRB RQKBBNRN RNBBNKRQ RBBNKRNQ BBQNRKNR NRB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #7:
score: 0
Accepted
time: 105ms
memory: 11224kb
input:
GAME 1 2 1 5 3 8 GAME 2 2 0 2 3 4 8 GAME 3 1 3 8 GAME 4 2 0 3 3 5 8 GAME 5 2 0 3 3 4 8 GAME 6 1 2 5 4 3 8 GAME 7 4 4 2 5 8 GAME 8 3 2 2 2 3 8 GAME 9 2 2 3 3 2 8 GAME 10 2 1 5 2 8 GAME 11 1 3 5 2 8 GAME 12 1 3 5 4 8 GAME 13 4 3 2 5 8 GAME 14 3 1 2 1 1 8 GAME 15 2 1 2 4 1 8 GAME 16 2 0 4 2 4 8 GAME 17...
output:
RQKBBNRN NRKBBQNR RBBNKQNR RBQKBNNR RBBQKRNN RQKBBNRN NRKBBQNR RKNNRBBQ BBNRKQRN RBBNNKRQ RBBNKRQN RQKBBNRN RNBBNKRQ RBBNKRNQ RQKBBNRN NRKBBQNR RKNNRBBQ RBBKNQRN RBBNKRNQ RBQNKRBN RQKBBNRN NRKBBQNR RKNNRBBQ RBBKNQRN RBBNKRNQ RBNQKRBN RQKBBNRN RNBBNKRQ RKNNQRBB RBBNNKRQ RBBNNKQR RBNNKRBQ RQKBBNRN RNB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #8:
score: 0
Accepted
time: 110ms
memory: 11284kb
input:
GAME 1 2 3 3 5 8 GAME 2 2 4 3 0 8 GAME 3 1 1 0 1 1 8 GAME 4 0 2 3 3 8 GAME 5 0 2 4 2 1 8 GAME 6 0 1 1 1 8 GAME 7 1 0 4 2 3 8 GAME 8 1 0 5 3 2 8 GAME 9 0 4 2 2 8 GAME 10 3 1 0 4 0 8 GAME 11 2 1 1 3 0 8 GAME 12 1 3 4 3 1 8 GAME 13 1 0 4 2 1 8 GAME 14 0 2 0 0 8 GAME 15 0 4 1 1 8 GAME 16 1 0 6 5 8 GAME ...
output:
RQKBBNRN NRKBBQNR RBNKBNQR RNNBKQBR QRNBKNBR RQKBBNRN NRKBBQNR RBBQKNNR RBBNNKRQ NRQBKNBR RQKBBNRN RNBBNKRQ BBRKRNQN RKQNNRBB RBBNKRNQ NRNBKQBR RQKBBNRN BBRNNKQR NRBKNBQR BRNBKRNQ QRNNKBBR RQKBBNRN BBRNNKQR NRBKNBQR RBBNNQKR RBBNNKRQ NRQNKBBR RQKBBNRN BBRNNKQR BRKNQRNB RNBBNQKR NRNQKBBR RQKBBNRN RNB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #9:
score: 0
Accepted
time: 97ms
memory: 11520kb
input:
GAME 1 1 1 2 0 3 8 GAME 2 0 2 3 2 8 GAME 3 1 1 3 2 4 8 GAME 4 1 0 3 2 8 GAME 5 1 0 4 4 8 GAME 6 0 2 2 0 8 GAME 7 0 1 1 3 8 GAME 8 1 1 0 0 1 8 GAME 9 0 2 5 3 8 GAME 10 0 1 0 2 8 GAME 11 1 0 3 1 0 8 GAME 12 0 1 0 1 8 GAME 13 3 1 5 8 GAME 14 3 1 3 6 4 8 GAME 15 2 0 3 5 8 GAME 16 4 1 3 6 8 GAME 17 4 1 3...
output:
RQKBBNRN RNBBNKRQ BBRKRNQN BQRNNKRB RBBNNQKR QBBRKNNR RQKBBNRN BBRNNKQR NRBKNBQR BRNBKRNQ NBBRKQNR RQKBBNRN RNBBNKRQ BBRKRNQN RBNNBQKR RBBNNKQR NBBRKNQR RQKBBNRN RNBBNKRQ NBRNKRBQ RBNKBRQN QBNRKNBR RQKBBNRN RNBBNKRQ NBRNKRBQ RBBNKNQR NBQRKNBR RQKBBNRN BBRNNKQR NRBKNBQR BRQKRBNN NBNRKQBR RQKBBNRN BBR...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #10:
score: 0
Accepted
time: 110ms
memory: 11220kb
input:
GAME 1 0 6 2 4 8 GAME 2 0 6 4 3 8 GAME 3 0 8 GAME 4 2 3 1 1 2 8 GAME 5 1 3 1 4 1 8 GAME 6 1 4 1 3 8 GAME 7 1 1 2 3 3 8 GAME 8 1 1 2 2 3 8 GAME 9 1 1 3 4 5 8 GAME 10 0 6 3 4 8 GAME 11 0 5 3 3 8 GAME 12 0 5 5 1 8 GAME 13 2 4 2 1 8 GAME 14 3 5 2 8 GAME 15 2 4 1 0 8 GAME 16 1 4 1 2 8 GAME 17 2 3 1 2 2 8...
output:
RQKBBNRN BBRNNKQR RBBNQNKR RBBNNKQR BBRQNKNR RQKBBNRN BBRNNKQR RBBNQNKR RBBNNQKR BBRNQKNR RQKBBNRN BBRNNKQR RQKBBNRN NRKBBQNR RBNKBNQR RBKRNNBQ RBBNNQKR BQRBNKNR RQKBBNRN RNBBNKRQ RBBNKRNQ BBQNRKNR RBBNNKRQ BNRBQKNR RQKBBNRN RNBBNKRQ NRQNBKRB BBNQRKNR BNRBNKQR RQKBBNRN RNBBNKRQ BBRKRNQN BQRNNKRB RBB...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Test #11:
score: 0
Accepted
time: 101ms
memory: 11264kb
input:
GAME 1 5 5 3 8 GAME 2 4 5 4 2 8 GAME 3 3 4 3 1 8 GAME 4 3 3 4 1 3 8 GAME 5 2 2 6 4 8 GAME 6 2 2 5 1 8 GAME 7 2 3 2 3 1 8 GAME 8 2 3 3 3 0 8 GAME 9 1 2 1 4 8 GAME 10 0 4 1 2 8 GAME 11 0 3 4 3 8 GAME 12 0 3 4 4 8 GAME 13 2 3 2 3 2 8 GAME 14 2 4 3 1 8 GAME 15 1 3 1 1 2 8 GAME 16 0 3 2 2 8 GAME 17 0 2 6...
output:
RQKBBNRN RBNKBNQR RBNKBQRN RQNBBNKR RQKBBNRN RNBBKNQR RBNNBQKR RBBNNKQR RNQBBNKR RQKBBNRN NRNBBKQR RBNKBRNQ RBBNNKRQ RNNBBQKR RQKBBNRN NRNBBKQR RBNNBKRQ RBBKRNQN RBBNNKQR RQNNBBKR RQKBBNRN NRKBBQNR RNQKBBNR RBBNNQKR RNQNBBKR RQKBBNRN NRKBBQNR RNQKBBNR RBBNNKRQ RNNQBBKR RQKBBNRN NRKBBQNR RBNKBNQR RQN...
result:
ok (c) correct after 96 tests, max moves 6 (96 test cases)
Extra Test:
score: 0
Extra Test Passed