結果
問題 | No.2235 Line Up Colored Balls |
ユーザー |
![]() |
提出日時 | 2023-01-26 12:27:24 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 141 bytes |
コンパイル時間 | 121 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 50,320 KB |
最終ジャッジ日時 | 2024-07-22 07:18:07 |
合計ジャッジ時間 | 33,632 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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/s*a)ans = s-t+1print(ans)