結果
問題 |
No.3295 Buying Bottled Water
|
ユーザー |
![]() |
提出日時 | 2025-10-05 14:29:40 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 11,222 ms |
コンパイル使用メモリ | 403,044 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-10-05 14:30:34 |
合計ジャッジ時間 | 12,475 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 WA * 1 |
ソースコード
use proconio::input; fn main() { input! { n: i64, } println!( "{}", (n - 99) / 500 + if (n - 99) % 500 == 0 { 0 } else { 1 } ); }