結果
| 問題 |
No.1902 AC Ratio
|
| ユーザー |
|
| 提出日時 | 2024-05-05 22:39:53 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 178 bytes |
| コンパイル時間 | 18,343 ms |
| コンパイル使用メモリ | 378,656 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-28 00:03:04 |
| 合計ジャッジ時間 | 12,826 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 15 |
ソースコード
fn main() {
let mut s = String::new();
std::io::stdin().read_line(&mut s).ok();
let n: Vec<f32> = s.split('/').flat_map(str::parse).collect();
println!("{}", n[0] / n[1]);
}