結果
問題 | No.552 十分簡単な星1の問題 |
ユーザー |
|
提出日時 | 2023-01-11 09:20:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 414 bytes |
コンパイル時間 | 1,813 ms |
コンパイル使用メモリ | 165,440 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-21 23:54:06 |
合計ジャッジ時間 | 2,606 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 47 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define lo long long #define sr string #define ch char #define ve vector #define al(x) x.begin(),x.end() #define rep(i,a) for(int i=0;i<a;i++) #define rrep(i,a,b) for(int i=a;i<b;i++) #define rrrep(i,a,b) for(int i=a;i>=b;i--) #define wh while int main(){ sr S; cin>>S; if(S[0]!='0'){ cout<<S<<'0'<<endl; } else{ cout<<0<<endl; } }