結果
| 問題 |
No.1940 Escape through + -
|
| ユーザー |
|
| 提出日時 | 2023-06-25 15:05:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 2,000 ms |
| コード長 | 192 bytes |
| コンパイル時間 | 314 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 75,392 KB |
| 最終ジャッジ日時 | 2024-07-02 13:24:28 |
| 合計ジャッジ時間 | 2,644 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
def main():
_, M, S = map(int, input().split())
for t in input().split():
a = int(t)
S -= a
if S % M == 0:
print("Yes")
else:
print("No")
main()