結果
問題 | No.552 十分簡単な星1の問題 |
ユーザー |
|
提出日時 | 2023-03-25 11:33:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 231 bytes |
コンパイル時間 | 1,611 ms |
コンパイル使用メモリ | 165,192 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-18 18:50:43 |
合計ジャッジ時間 | 2,981 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 47 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main(){ string s; cin>>s; if(s=="0") cout<<0<<endl; else{ s.append("0"); cout<<s<<endl; } }