結果
| 問題 |
No.2224 UFO Game
|
| コンテスト | |
| ユーザー |
Ricky_pon
|
| 提出日時 | 2023-06-13 21:08:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 2,000 ms |
| コード長 | 195 bytes |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-22 07:21:48 |
| 合計ジャッジ時間 | 1,151 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
import sys
input = sys.stdin.readline
def main():
s = input()
if s[0] != "x":
print(int(s))
else:
print(2**32 - int(s[1:]))
if __name__ == "__main__":
main()
Ricky_pon