結果
| 問題 |
No.3066 Collecting Coins Speedrun 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-21 21:45:37 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| コンパイル時間 | 355 ms |
| コンパイル使用メモリ | 82,364 KB |
| 実行使用メモリ | 82,048 KB |
| 最終ジャッジ日時 | 2025-03-21 21:45:41 |
| 合計ジャッジ時間 | 3,279 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 WA * 9 |
ソースコード
def readlist():
return list(map(int, input().split()))
def readint():
return map(int, input().split())
n = int(input())
coord = readlist()
print(abs(coord[0]) * 2 + coord[-1] * 2)