結果

問題 No.3066 Collecting Coins Speedrun 1
ユーザー SPD_9X2
提出日時 2025-03-22 17:35:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 459 ms
コンパイル使用メモリ 82,904 KB
実行使用メモリ 84,116 KB
最終ジャッジ日時 2025-03-22 17:35:57
合計ジャッジ時間 3,633 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

N = int(input())
c = list(map(int,input().split()))

l = abs(min(0,min(c)))
r = max(0,max(c))

print ((l+r)*2)
0