結果
問題 | No.2224 UFO Game |
ユーザー |
|
提出日時 | 2023-02-24 22:03:56 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 356 bytes |
コンパイル時間 | 358 ms |
コンパイル使用メモリ | 81,848 KB |
実行使用メモリ | 57,288 KB |
最終ジャッジ日時 | 2024-09-13 05:31:22 |
合計ジャッジ時間 | 1,620 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
import sys,random,bisectfrom collections import deque,defaultdictfrom heapq import heapify,heappop,heappushfrom itertools import permutationsfrom math import gcd,loginput = lambda :sys.stdin.readline().rstrip()mi = lambda :map(int,input().split())li = lambda :list(mi())S = input()if "x" in S:print(2**32-int(S[1:]))else:print(int(S))