結果
| 問題 |
No.2224 UFO Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-03 20:03:49 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 253 bytes |
| コンパイル時間 | 536 ms |
| コンパイル使用メモリ | 65,788 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-17 22:12:53 |
| 合計ジャッジ時間 | 1,440 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(void){
string s;
cin>>s;
if(s[0]!='x'){
cout<<s<<endl;
}
else{
long long int a=stol(s.substr(1,s.size()-1));
cout<<4294967296-a<<endl;
}
}