結果

問題 No.1155 Nada Picnic
ユーザー phspls
提出日時 2020-08-12 11:25:41
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 278 bytes
コンパイル時間 12,315 ms
コンパイル使用メモリ 400,428 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 18:07:43
合計ジャッジ時間 13,025 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

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

    let result = if n == 1 { "Shiitakerando" } else if n == 2 { "Otsukakokusaibijutsukan" } else { "Spring-8" };
    println!("{}", result);
}
0