結果
問題 | No.8060 サンプルケース至上主義 |
ユーザー |
![]() |
提出日時 | 2020-04-01 21:28:40 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 720 bytes |
コンパイル時間 | 13,138 ms |
コンパイル使用メモリ | 378,184 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-27 08:28:07 |
合計ジャッジ時間 | 12,808 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
ソースコード
use std::io::Read; fn run() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).unwrap(); let mut it = s.trim().split_whitespace(); match it.next().unwrap() { "0" => { println!("Nothing"); }, "3.14159265" => { println!("pi"); }, "1112345678999+X" => { println!("九蓮宝燈\nThirteen Orphans"); }, "All" => { for a in [3, 4, 4, 3, 6, 2, 2].iter() { println!("{}", *a); } }, "くぁwせdrftgyふじこlp" => { println!("さmpぇ"); } _ => unreachable!(), } } fn main() { run(); }