結果
| 問題 |
No.169 何分かかるの!?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-17 12:42:23 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 334 bytes |
| コンパイル時間 | 11,943 ms |
| コンパイル使用メモリ | 400,756 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-24 18:53:56 |
| 合計ジャッジ時間 | 13,052 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
use std::io::Read;
fn main() {
let mut input = String::new();
std::io::stdin().read_to_string(&mut input).ok();
let inputs = input
.split_whitespace()
.map(|x| x.parse::<u64>().unwrap())
.collect::<Vec<_>>();
let (k, s) = (inputs[0], inputs[1]);
println!("{}", k * s / (100 - k) + s);
}