結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-18 19:20:25 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 291 bytes |
| 記録 | |
| コンパイル時間 | 14,027 ms |
| コンパイル使用メモリ | 386,856 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 10:42:11 |
| 合計ジャッジ時間 | 14,889 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 9 |
ソースコード
fn read_i32() -> i32{
let mut line = String::new();
std::io::stdin().read_line(&mut line).unwrap();
line.trim().parse().unwrap()
}
fn main() {
let l = read_i32();
let m = read_i32() + l / 25;
let n = read_i32() + m / 4;
println!("{}", n % 10 + m % 4 + l % 25);
}