結果

問題 No.552 十分簡単な星1の問題
ユーザー kaito_tateyamakaito_tateyama
提出日時 2017-08-11 22:41:04
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 253 bytes
コンパイル時間 559 ms
コンパイル使用メモリ 72,572 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-12 21:22:22
合計ジャッジ時間 1,685 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 47
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;

int main(){


  string n;cin >> n;
  string a = n + "0";
  if (n == "0") {
    puts("0");
  }else{
  cout << a << "\n";
}
  return 0;
}
0