結果
問題 | No.2155 みちらcolor |
ユーザー |
|
提出日時 | 2022-12-09 21:49:31 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 50 ms / 2,000 ms |
コード長 | 240 bytes |
コンパイル時間 | 383 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 60,416 KB |
最終ジャッジ日時 | 2024-10-14 21:32:22 |
合計ジャッジ時間 | 5,006 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 64 |
ソースコード
x=1001n,m,l,*a=map(int,open(0).read().split())d=[0]*xd[l]=1for c in a:nx=[0]*xfor i in range(x):if d[i]:i+c>>1nx[i+c>>1]=1for i in range(x):d[i]|=nx[i]print('YNeos'[1-d[m]::2])