結果

問題 No.524 コインゲーム
ユーザー もちふわゆるゆるもちふわゆるゆる
提出日時 2023-04-14 17:31:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 1,000 ms
コード長 243 bytes
コンパイル時間 400 ms
コンパイル使用メモリ 82,848 KB
実行使用メモリ 53,544 KB
最終ジャッジ日時 2024-04-18 15:23:46
合計ジャッジ時間 2,785 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,220 KB
testcase_01 AC 36 ms
51,864 KB
testcase_02 AC 36 ms
53,000 KB
testcase_03 AC 36 ms
52,140 KB
testcase_04 AC 35 ms
53,268 KB
testcase_05 AC 36 ms
52,536 KB
testcase_06 AC 37 ms
52,928 KB
testcase_07 AC 37 ms
53,280 KB
testcase_08 AC 35 ms
52,248 KB
testcase_09 AC 36 ms
53,068 KB
testcase_10 AC 37 ms
53,484 KB
testcase_11 AC 36 ms
53,012 KB
testcase_12 AC 37 ms
51,888 KB
testcase_13 AC 37 ms
52,536 KB
testcase_14 AC 36 ms
53,236 KB
testcase_15 AC 36 ms
52,560 KB
testcase_16 AC 39 ms
52,204 KB
testcase_17 AC 38 ms
53,368 KB
testcase_18 AC 36 ms
51,744 KB
testcase_19 AC 36 ms
52,824 KB
testcase_20 AC 36 ms
52,528 KB
testcase_21 AC 36 ms
53,544 KB
testcase_22 AC 36 ms
52,496 KB
testcase_23 AC 35 ms
52,156 KB
testcase_24 AC 36 ms
52,888 KB
testcase_25 AC 35 ms
53,024 KB
testcase_26 AC 36 ms
53,288 KB
testcase_27 AC 36 ms
52,000 KB
testcase_28 AC 35 ms
52,004 KB
testcase_29 AC 36 ms
51,612 KB
testcase_30 AC 35 ms
52,804 KB
testcase_31 AC 35 ms
52,368 KB
testcase_32 AC 37 ms
53,064 KB
testcase_33 AC 37 ms
52,604 KB
testcase_34 AC 38 ms
52,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, math
input = lambda: sys.stdin.readline()[:-1]
def MI(): return map(int, input().split())
inf = 10**18

n, = MI()
print("X" if n%4==3 else "O")

# res = 0
# for i in range(1, n+1):
#     res ^= i
#     if res==0:
#         print(i)
0