結果
問題 |
No.1940 Escape through + -
|
ユーザー |
|
提出日時 | 2022-06-24 09:51:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 76 ms / 2,000 ms |
コード長 | 230 bytes |
コンパイル時間 | 314 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 82,688 KB |
最終ジャッジ日時 | 2024-11-08 02:43:26 |
合計ジャッジ時間 | 3,284 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 25 |
ソースコード
import sys input = lambda: sys.stdin.readline().rstrip() # ----------------------- # n, m, s = map(int, input().split()) A = list(map(int, input().split())) sm = sum(A) if (s - sm) % m == 0: print('Yes') else: print('No')