結果
| 問題 | No.1083 余りの余り |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-19 22:30:44 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 622 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,616 KB |
| 最終ジャッジ日時 | 2026-03-24 23:08:36 |
| 合計ジャッジ時間 | 7,242 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 WA * 13 |
ソースコード
from bisect import bisect_left INF = 10**9 n,k= map(int,input().split()) A = list(map(int,input().split())) M = [0]*n for i in range(n): M[i] = k % A[i] M = sorted(M) print(M[bisect_left(M,min(A))-1])