結果
| 問題 | No.1048 Zero (Advanced) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-05-08 22:32:43 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 393 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 1,311,712 KB |
| 最終ジャッジ日時 | 2026-03-25 08:57:54 |
| 合計ジャッジ時間 | 2,897 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | MLE * 2 -- * 13 |
ソースコード
#L R M K
N=0
L,R,M,K=map(int,input().split())
lst=sorted([i%M for i in list(range(L,R+1))])
if len(lst) > M:
print("Yes")
exit()
for i in range(len(lst)-1-M):
if 0==sum(lst[0+i:M+i-1])%M:
print("Yes")
exit()
print("No")
exit()