結果

問題 No.2224 UFO Game
ユーザー chineristACchineristAC
提出日時 2023-02-24 22:03:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 356 bytes
コンパイル時間 1,414 ms
コンパイル使用メモリ 86,468 KB
実行使用メモリ 74,756 KB
最終ジャッジ日時 2023-10-11 06:17:02
合計ジャッジ時間 3,009 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
74,664 KB
testcase_01 AC 122 ms
74,420 KB
testcase_02 AC 114 ms
74,756 KB
testcase_03 AC 115 ms
74,536 KB
testcase_04 AC 114 ms
74,176 KB
testcase_05 AC 116 ms
74,416 KB
testcase_06 AC 118 ms
74,660 KB
testcase_07 AC 117 ms
74,440 KB
testcase_08 AC 116 ms
74,624 KB
testcase_09 AC 118 ms
74,556 KB
testcase_10 AC 118 ms
74,332 KB
testcase_11 AC 115 ms
74,516 KB
testcase_12 AC 113 ms
74,648 KB
testcase_13 AC 115 ms
74,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,random,bisect
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
from itertools import permutations
from math import gcd,log

input = 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))
0