結果

問題 No.2224 UFO Game
ユーザー ikomaikoma
提出日時 2023-02-24 21:22:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 83 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 71,360 KB
最終ジャッジ日時 2023-10-11 05:43:11
合計ジャッジ時間 2,206 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,128 KB
testcase_01 AC 75 ms
71,104 KB
testcase_02 AC 77 ms
71,184 KB
testcase_03 AC 79 ms
71,168 KB
testcase_04 AC 75 ms
71,208 KB
testcase_05 AC 73 ms
71,324 KB
testcase_06 AC 73 ms
70,976 KB
testcase_07 AC 74 ms
70,984 KB
testcase_08 AC 73 ms
71,248 KB
testcase_09 AC 74 ms
70,984 KB
testcase_10 AC 74 ms
71,164 KB
testcase_11 AC 75 ms
71,168 KB
testcase_12 AC 74 ms
71,320 KB
testcase_13 AC 75 ms
71,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input().strip()
if s[0]=="x":
    print(2**32-int(s[1:]))
else:
    print(int(s))
0