結果
問題 |
No.3295 Buying Bottled Water
|
ユーザー |
![]() |
提出日時 | 2025-10-05 18:09:02 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 152 bytes |
コンパイル時間 | 363 ms |
コンパイル使用メモリ | 35,392 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-10-05 18:09:04 |
合計ジャッジ時間 | 1,613 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
#include <stdio.h> int main() { int cnt; int n; scanf("%d", &n); cnt = n / 500; if(n % 500 >= 100)cnt++; printf("%d\n", cnt); return 0; }