結果

問題 No.2224 UFO Game
ユーザー mattu34mattu34
提出日時 2023-04-15 19:38:13
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 193 bytes
コンパイル時間 235 ms
コンパイル使用メモリ 82,264 KB
実行使用メモリ 66,748 KB
最終ジャッジ日時 2024-04-19 12:27:32
合計ジャッジ時間 1,546 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
53,648 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 AC 32 ms
52,896 KB
testcase_04 RE -
testcase_05 AC 31 ms
52,208 KB
testcase_06 RE -
testcase_07 RE -
testcase_08 AC 32 ms
53,084 KB
testcase_09 RE -
testcase_10 AC 32 ms
52,228 KB
testcase_11 RE -
testcase_12 AC 32 ms
52,356 KB
testcase_13 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = int(input())  # スコアを入力する

if S < 2**31:  # スコアが2^31未満の場合
    T = S
else:  # スコアが2^31以上の場合
    T = 2**32 - S

print(T)  # Tを出力する
0