結果
| 問題 |
No.2014 Eggs Hatching
|
| コンテスト | |
| ユーザー |
Schnee
|
| 提出日時 | 2022-07-23 23:47:29 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 358 bytes |
| コンパイル時間 | 18,780 ms |
| コンパイル使用メモリ | 376,184 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-05 15:00:40 |
| 合計ジャッジ時間 | 19,791 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
use std::io;
use std::cmp;
fn main() {
let (a, b, c) = {
let mut s = String::new();
io::stdin().read_line(&mut s).unwrap();
let mut iter = s.split_whitespace().map(|i| i.parse::<i32>().unwrap());
(iter.next().unwrap(), iter.next().unwrap(), iter.next().unwrap())
};
println!("{}", cmp::min(a, cmp::min(b, c)));
}
Schnee