結果

問題 No.1564 Sum of Products of Pairs
ユーザー KudeKude
提出日時 2021-06-26 13:07:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 150 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 385 ms
コンパイル使用メモリ 86,940 KB
実行使用メモリ 108,928 KB
最終ジャッジ日時 2023-09-07 16:17:58
合計ジャッジ時間 5,283 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,356 KB
testcase_01 AC 71 ms
71,452 KB
testcase_02 AC 71 ms
71,392 KB
testcase_03 AC 106 ms
90,552 KB
testcase_04 AC 77 ms
76,400 KB
testcase_05 AC 117 ms
95,196 KB
testcase_06 AC 104 ms
88,908 KB
testcase_07 AC 92 ms
83,048 KB
testcase_08 AC 81 ms
78,408 KB
testcase_09 AC 93 ms
84,068 KB
testcase_10 AC 116 ms
95,216 KB
testcase_11 AC 123 ms
98,280 KB
testcase_12 AC 109 ms
90,824 KB
testcase_13 AC 69 ms
71,316 KB
testcase_14 AC 72 ms
71,408 KB
testcase_15 AC 73 ms
71,324 KB
testcase_16 AC 74 ms
71,320 KB
testcase_17 AC 72 ms
71,464 KB
testcase_18 AC 147 ms
108,304 KB
testcase_19 AC 142 ms
104,876 KB
testcase_20 AC 144 ms
108,372 KB
testcase_21 AC 145 ms
108,620 KB
testcase_22 AC 139 ms
104,460 KB
testcase_23 AC 147 ms
108,928 KB
testcase_24 AC 145 ms
108,360 KB
testcase_25 AC 146 ms
108,356 KB
testcase_26 AC 147 ms
108,384 KB
testcase_27 AC 150 ms
108,616 KB
testcase_28 AC 71 ms
71,480 KB
testcase_29 AC 73 ms
71,204 KB
testcase_30 AC 71 ms
71,520 KB
testcase_31 AC 71 ms
71,436 KB
testcase_32 AC 71 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

input()
print(sum(x * y for x, y in zip(*[iter(sorted(map(int, input().split())))] * 2)))
0