結果
| 問題 |
No.2259 Gas Station
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-04-08 08:31:45 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 154 bytes |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-10-03 04:47:57 |
| 合計ジャッジ時間 | 1,685 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 21 |
ソースコード
L=int(input()) R=int(input()) C=int(input()) t=1000 a=t b=(L*C)%t for i in range(L,R+1): if b==0: print(0) exit(0) a=min(a,t-b) b=(b+C)%t print(a)