結果
| 問題 |
No.524 コインゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-04-18 21:20:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 115 bytes |
| コンパイル時間 | 199 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 24,264 KB |
| 最終ジャッジ日時 | 2024-12-30 01:27:52 |
| 合計ジャッジ時間 | 40,504 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 TLE * 1 |
| other | WA * 13 TLE * 19 |
ソースコード
N = int(input())
ans = 1
for i in range(N):
ans ^ i
print(ans)
if ans != 0:
print('X')
else:
print('O')