結果
| 問題 | No.1940 Escape through + - |
| ユーザー |
|
| 提出日時 | 2023-06-25 15:05:44 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 75,904 KB |
| 最終ジャッジ日時 | 2026-03-23 21:34:14 |
| 合計ジャッジ時間 | 2,317 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()