結果
| 問題 | No.2224 UFO Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-02-25 21:56:49 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 352 bytes |
| 記録 | |
| コンパイル時間 | 1,285 ms |
| コンパイル使用メモリ | 210,180 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-29 17:57:21 |
| 合計ジャッジ時間 | 1,907 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define fi first
#define se second
int main(){
string s;
cin >> s;
if(s[0] != 'x') cout << s << endl;
else{
string ans = "";
for(int i = 1; i < s.size(); ++i) ans.push_back(s[i]);
cout << (1ll << 32) - stoll(ans) << endl;;
}
return 0;
}