結果

問題 No.1114 足し算盆に返らず
ユーザー phspls
提出日時 2020-07-17 21:29:03
言語 Rust
(1.83.0 + proconio)
結果
WA  
実行時間 -
コード長 222 bytes
コンパイル時間 13,580 ms
コンパイル使用メモリ 401,316 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-29 21:30:51
合計ジャッジ時間 30,504 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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