結果

問題 No.552 十分簡単な星1の問題
ユーザー cra77756176
提出日時 2022-11-23 01:57:49
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 13,168 ms
コンパイル使用メモリ 401,820 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 06:43:18
合計ジャッジ時間 13,328 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 47
権限があれば一括ダウンロードができます

ソースコード

diff #

use std::io;

fn main() {
    let mut n = String::new();
    io::stdin().read_line(&mut n).ok();
    n = n.trim().to_string();

    if n == "0" {
        println!("0");
    } else {
        println!("{}0", n);
    }
}
0