結果
問題 |
No.2224 UFO Game
|
ユーザー |
|
提出日時 | 2023-03-15 16:52:17 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,019 bytes |
コンパイル時間 | 1,689 ms |
コンパイル使用メモリ | 170,072 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-18 08:48:29 |
合計ジャッジ時間 | 2,350 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define boost ios::sync_with_stdio(0);cin.tie(0); #define file freopen("in.txt","r",stdin); freopen("out.txt","w",stdout); #define pb push_back #define mp make_pair #define ins insert #define int long long #define uint unsigned long long #define pii pair<int,int> #define st set<int> #define get(arr) for(auto& v:arr){cin>>v;} #define all(x) (x).begin(),(x).end() #define sz(x) (x).size() #define fix(a,b) setprecision(a)<<fixed<<(b) #define drop(x) cout<<(x)<<endl;return; #define print(x,a,b) for(auto v:(x)){cout<<(v)<<(a);}cout<<(b) #define INF 1e9 string alpha="abcdefghijklmnopqrstuvwxyz"; const long long mod=12345; int _case=1; map<int,vector<int>> arr; void _(){ string s; cin>>s; if(s[0]=='x'){ uint x=pow(2,32); drop(x- stoll(s.substr(1,sz(s)))); } else{ drop(s); } } signed main(){ boost; // file; int T=1; // cin>>T; while(T--){ _(); // _case++; } }