結果

問題 No.552 十分簡単な星1の問題
ユーザー kichirb3
提出日時 2018-02-26 19:32:09
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 367 bytes
コンパイル時間 588 ms
コンパイル使用メモリ 66,500 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-24 14:44:11
合計ジャッジ時間 3,721 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 27 RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

// No.552 十分簡単な星1の問題
// https://yukicoder.me/problems/no/552
//

#include <iostream>
#include <string>
using namespace std;

string solve(string N);


int main() {
    string N;
    cin >> N;
    string ans = solve(N);
    cout << ans << endl;
}

string solve(string N) {
    if (stoi(N) == 0)
        return "0";
    else
        return N + "0";
}
0