結果
問題 |
No.524 コインゲーム
|
ユーザー |
![]() |
提出日時 | 2021-03-29 15:11:11 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-11-29 09:50:22 |
合計ジャッジ時間 | 2,927 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 WA * 9 |
ソースコード
n = int(input()) if n <= 2: print('O') exit() b = format(n, 'b') for c in b: if c == '0': print('O') exit() else: print('X')