結果

問題 No.1389 Clumsy Calculation
ユーザー zyxwzyxw
提出日時 2021-03-02 10:42:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 109 bytes
コンパイル時間 383 ms
コンパイル使用メモリ 82,156 KB
実行使用メモリ 107,844 KB
最終ジャッジ日時 2024-04-14 04:29:46
合計ジャッジ時間 4,799 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,728 KB
testcase_01 AC 35 ms
52,736 KB
testcase_02 AC 36 ms
52,616 KB
testcase_03 AC 40 ms
61,236 KB
testcase_04 AC 40 ms
60,096 KB
testcase_05 AC 41 ms
60,728 KB
testcase_06 AC 40 ms
59,856 KB
testcase_07 AC 40 ms
60,532 KB
testcase_08 AC 38 ms
52,744 KB
testcase_09 AC 96 ms
102,364 KB
testcase_10 AC 71 ms
97,572 KB
testcase_11 AC 39 ms
59,704 KB
testcase_12 AC 39 ms
58,992 KB
testcase_13 AC 39 ms
60,368 KB
testcase_14 AC 80 ms
104,756 KB
testcase_15 AC 80 ms
104,652 KB
testcase_16 AC 80 ms
104,712 KB
testcase_17 AC 86 ms
107,424 KB
testcase_18 AC 85 ms
107,844 KB
testcase_19 AC 86 ms
107,516 KB
testcase_20 AC 86 ms
107,436 KB
testcase_21 AC 86 ms
107,360 KB
testcase_22 AC 84 ms
107,692 KB
testcase_23 AC 86 ms
107,724 KB
testcase_24 AC 85 ms
107,508 KB
testcase_25 AC 85 ms
107,500 KB
testcase_26 AC 80 ms
103,004 KB
testcase_27 AC 82 ms
104,084 KB
testcase_28 AC 87 ms
107,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X=map(int,input().split())
S=list(map(int,input().split()))
Y=0
for i in range(N):
    Y+=X-S[i]
print(X-Y)
0