CF528E Triangles 3000

题目描述

给定平面上的$n$个不平行的直线。第$i$条直线以方程$a_ix+b_iy=c_i$的方式给定。没有三线交于一点的情况。 求出任意三条直线形成的三角形的面积之和。

输入格式

输出格式

说明/提示

A sample from the statement is shown below. There are four triangles on the plane, their areas are $ 0.25,0.5,2,2.25 $ . ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF528E/450ecf6bf6b7d8bf32be30846155196ebe3c9f35.png)