結果
問題 | No.524 コインゲーム |
ユーザー |
![]() |
提出日時 | 2025-03-20 20:15:38 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 1,000 ms |
コード長 | 90 bytes |
コンパイル時間 | 137 ms |
コンパイル使用メモリ | 82,360 KB |
実行使用メモリ | 53,712 KB |
最終ジャッジ日時 | 2025-03-20 20:16:08 |
合計ジャッジ時間 | 2,409 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
n = int(input()) total_xor = [n, 1, n + 1, 0][n % 4] print("O" if total_xor != 0 else "X")