結果
問題 | No.2235 Line Up Colored Balls |
ユーザー |
![]() |
提出日時 | 2023-01-26 12:25:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 142 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 50,572 KB |
最終ジャッジ日時 | 2024-07-22 07:16:54 |
合計ジャッジ時間 | 34,705 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 55 |
ソースコード
import numpy as npN = int(input())a = np.array(list(map(float, input().split())))s = np.sum(a)t = np.sum(a**2)/sans = s-t+1print(ans)