結果

問題 No.1389 Clumsy Calculation
ユーザー gorugo30gorugo30
提出日時 2021-02-12 21:24:04
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 98 bytes
コンパイル時間 1,652 ms
コンパイル使用メモリ 86,888 KB
実行使用メモリ 107,576 KB
最終ジャッジ日時 2023-09-27 02:39:25
合計ジャッジ時間 5,287 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,224 KB
testcase_01 AC 78 ms
71,176 KB
testcase_02 AC 76 ms
71,324 KB
testcase_03 AC 81 ms
75,644 KB
testcase_04 AC 81 ms
75,760 KB
testcase_05 AC 81 ms
75,732 KB
testcase_06 AC 80 ms
75,944 KB
testcase_07 AC 80 ms
75,572 KB
testcase_08 AC 76 ms
71,280 KB
testcase_09 AC 128 ms
99,168 KB
testcase_10 AC 109 ms
103,896 KB
testcase_11 AC 80 ms
75,740 KB
testcase_12 AC 79 ms
75,940 KB
testcase_13 AC 79 ms
75,696 KB
testcase_14 AC 115 ms
107,284 KB
testcase_15 AC 116 ms
107,232 KB
testcase_16 AC 115 ms
107,280 KB
testcase_17 AC 125 ms
99,960 KB
testcase_18 AC 126 ms
100,008 KB
testcase_19 AC 126 ms
99,832 KB
testcase_20 AC 126 ms
100,008 KB
testcase_21 AC 127 ms
100,032 KB
testcase_22 AC 125 ms
99,808 KB
testcase_23 AC 135 ms
100,064 KB
testcase_24 AC 125 ms
99,820 KB
testcase_25 AC 126 ms
100,064 KB
testcase_26 AC 116 ms
106,520 KB
testcase_27 AC 116 ms
107,576 KB
testcase_28 AC 126 ms
99,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, X = map(int, input().split())
SUM = sum(list(map(int, input().split())))
print(X + SUM - N * X)
0