結果
問題 |
No.1048 Zero (Advanced)
|
ユーザー |
|
提出日時 | 2020-05-08 22:32:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 817,620 KB |
最終ジャッジ日時 | 2024-07-04 00:58:55 |
合計ジャッジ時間 | 2,312 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | MLE * 1 -- * 14 |
ソースコード
#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()