Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

Usage: ./reversi [OPTIONS]

A local multiplayer Reversi game.

Options:
-h|--help Print this help message
-v|--version Print version information

Commands:
AUTo	Automatically process the game by always placing the first valid disk
DONE	Manually exit the game
LOAD filename	Load the game status from the specified file, e.g. LoaD sample.txt If the filename does notexist, sample.txt will be loaded by default
PLACE	x y Place a new disk at position (x, y), e.g. PLACE 3 c PRINT Print current board
SAVE filename	Save the game status to the specified file, e.g. SAvE sample.txt If the filename does notexist, it will be automatically created
Welcome to Reversi! Enjoy yourself!
Initialization finished!
   a   b   c   d   e   f   g   h
 +---+---+---+---+---+---+---+---+
1|   |   |   |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
2|   |   |   |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
3|   |   |   | ` |   |   |   |   |
 +---+---+---+---+---+---+---+---+
4|   |   | ` | O |

JOJ Answer

Usage: ./reversi [OPTIONS]

A local multiplayer Reversi game.

Options:
  -h|--help    Print this help message
  -v|--version Print version information

Commands:
  AUTO          Automatically process the game by always placing the first valid disk
  DONE          Manually exit the game
  LOAD filename Load the game status from the specified file, e.g. LOAD sample.txt
                If the filename does not exist, sample.txt will be loaded by default
  PLACE x y     Place a new disk at position (x, y), e.g. PLACE 3 c
  PRINT         Print current board
  SAVE filename Save the game status to the specified file, e.g. SAVE sample.txt
                If the filename does not exist, it will be automatically created