結果

問題 No.3295 Buying Bottled Water
ユーザー Hyoka7
提出日時 2025-10-05 15:30:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 53,872 KB
最終ジャッジ日時 2025-10-05 15:30:37
合計ジャッジ時間 1,927 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

def readint():
    return map(int, input().split())


n = int(input())
ans = n // 500
n %= 500
print(ans + 1 if n >= 100 else ans)
0