結果

問題 No.2224 UFO Game
ユーザー lam6er
提出日時 2025-03-20 18:42:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 82,548 KB
実行使用メモリ 53,820 KB
最終ジャッジ日時 2025-03-20 18:43:04
合計ジャッジ時間 1,253 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input().strip()

if S.startswith('x'):
    N = int(S[1:])
    T = (1 << 32) - N
    print(T)
else:
    T = int(S)
    print(T)
0