結果
| 問題 |
No.552 十分簡単な星1の問題
|
| コンテスト | |
| ユーザー |
rapurasu
|
| 提出日時 | 2017-08-11 22:25:10 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 411 bytes |
| コンパイル時間 | 1,506 ms |
| コンパイル使用メモリ | 157,796 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-12 21:07:55 |
| 合計ジャッジ時間 | 2,892 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 47 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) for (int i=(n)-1;i>=0;i--)
typedef long long LL;
string s;
int main(){
cin>>s;
if(s=="0"){
cout<<0<<endl;
}else if(s=="-0"){
cout<<0<<endl;
}else{
cout<<s<<0<<endl;
}
return(0);
}
rapurasu