結果
| 問題 |
No.3295 Buying Bottled Water
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2025-10-12 03:05:21 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 157 bytes |
| コンパイル時間 | 187 ms |
| コンパイル使用メモリ | 11,904 KB |
| 実行使用メモリ | 10,112 KB |
| 最終ジャッジ日時 | 2025-10-12 03:05:23 |
| 合計ジャッジ時間 | 2,485 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 WA * 3 |
ソースコード
import sys
input = sys.stdin.readline
N=int(input())
x=N//500
for i in range(x-2,10**9):
now=i*500
if N-now<=100:
print(i)
break
titia