結果

問題 No.1940 Escape through + -
ユーザー ohanaohana
提出日時 2023-09-29 16:00:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 87,000 KB
実行使用メモリ 90,740 KB
最終ジャッジ日時 2023-09-29 16:00:41
合計ジャッジ時間 4,692 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
71,064 KB
testcase_01 AC 57 ms
71,388 KB
testcase_02 AC 58 ms
71,176 KB
testcase_03 AC 59 ms
71,376 KB
testcase_04 AC 62 ms
70,824 KB
testcase_05 AC 62 ms
71,036 KB
testcase_06 AC 62 ms
71,212 KB
testcase_07 AC 63 ms
71,092 KB
testcase_08 AC 62 ms
71,228 KB
testcase_09 AC 62 ms
71,036 KB
testcase_10 AC 63 ms
71,072 KB
testcase_11 AC 66 ms
71,340 KB
testcase_12 AC 71 ms
71,140 KB
testcase_13 AC 62 ms
71,236 KB
testcase_14 AC 64 ms
71,084 KB
testcase_15 AC 64 ms
71,276 KB
testcase_16 AC 65 ms
71,032 KB
testcase_17 AC 72 ms
71,088 KB
testcase_18 AC 63 ms
71,188 KB
testcase_19 AC 62 ms
70,868 KB
testcase_20 AC 68 ms
75,496 KB
testcase_21 AC 69 ms
75,888 KB
testcase_22 AC 69 ms
75,668 KB
testcase_23 AC 65 ms
75,792 KB
testcase_24 AC 85 ms
90,528 KB
testcase_25 AC 80 ms
90,392 KB
testcase_26 AC 86 ms
90,524 KB
testcase_27 AC 84 ms
90,740 KB
testcase_28 AC 86 ms
90,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m, s = map(int, input().split())
A = list(map(int, input().split()))

print("Yes" if (sum(A) - s) % m == 0 else "No")
0