結果
| 問題 |
No.2938 Sigma Sigma Distance Distance Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-09 12:05:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 137 bytes |
| コンパイル時間 | 397 ms |
| コンパイル使用メモリ | 12,160 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2025-04-09 12:05:30 |
| 合計ジャッジ時間 | 2,668 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 20 |
ソースコード
a= int(input()) *b, =map(int, input().split()) ans = 0 for i in range(a): for j in range(b): ans += abs((i-j)*(a[i]-a[j])) print(ans)