結果
問題 | No.2224 UFO Game |
ユーザー |
|
提出日時 | 2023-04-08 18:24:03 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 304 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 82,780 KB |
実行使用メモリ | 54,144 KB |
最終ジャッジ日時 | 2024-10-03 14:44:44 |
合計ジャッジ時間 | 1,576 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
import sysfrom collections import deque, Counterinput = lambda: sys.stdin.readline().rstrip()ii = lambda: int(input())mi = lambda: map(int, input().split())li = lambda: list(mi())inf = 2 ** 63 - 1mod = 998244353s = input()if s[0] == 'x':print(2 ** 32 - int(s[1:]))else:print(int(s))