正文
增加 6 行删除 6 行
99 行未改动10010110210310410510610710890 行未改动199200201202203204205206207208209210211212243 行未改动全部展开456457458459460461462463464173 行未改动全部展开638639640641642643644645646295 行未改动全部展开99 行未改动```cpp#include<bits/stdc++.h>#define db long double#define ll long longusing namespace std;const ll M=3e3+7;const db PI=3.14159265,eps=1e-9;ll n,R,x[M],y[M],ans; bool stl[M][M],sdht[M];90 行未改动#define ll long long#define lll __int128#define db doubleusing namespace std;const ll M=1e6+7;ll n,nn,nx,ny,nv,a1,a2,a3; db now,ans;struct node{db x,y;}p[M],tb[M];db check(node a1,node a2,node b1,node b2){return (a2.x-a1.x)*(b2.y-b1.y)-(b2.x-b1.x)*(a2.y-a1.y);//<0表右转 =0表共线 >0表左转}db dis(node p1,node p2){return sqrt((lll)(p2.y-p1.y)*(p2.y-p1.y)+(lll)(p2.x-p1.x)*(p2.x-p1.x));}243 行未改动全部展开}sort(b+1,b+1+n);if(check(n)) ans++;js1:;}}else{for(int i=1;i<=n;i++){cntb=0;if(x[i]-cntx==0){173 行未改动全部展开}db A[3007],B[3007],C[3007];int main(){int n;scanf("%d",&n);for(int i=1;i<=n;i++)scanf("%lf%lf%lf",&A[i],&B[i],&C[i]);double s=0;for(int i=1;i<n-1;i++) for(int j=i+1;j<n;j++) for(int k=j+1;k<=n;k++)295 行未改动全部展开99 行未改动10010110210310410510610710890 行未改动199200201202203204205206207208209210211212243 行未改动全部展开456457458459460461462463464173 行未改动全部展开638639640641642643644645646295 行未改动全部展开99 行未改动```cpp#include<bits/stdc++.h>#define db long double#define ll long longusing namespace std;const ll M=3e3+7;const db PI=3.14159265,eps=1e-9;ll n,R,x[M],y[M],ans; bool stl[M][M],sdht[M];90 行未改动#define ll long long#define lll __int128#define db doubleusing namespace std;const ll M=1e6+7;ll n,nn,nx,ny,nv,a1,a2,a3; db now,ans;struct node{db x,y;}p[M],tb[M];db check(node a1,node a2,node b1,node b2){return (a2.x-a1.x)*(b2.y-b1.y)-(b2.x-b1.x)*(a2.y-a1.y);//<0表右转 =0表共线 >0表左转}db dis(node p1,node p2){return sqrt((lll)(p2.y-p1.y)*(p2.y-p1.y)+(lll)(p2.x-p1.x)*(p2.x-p1.x));}243 行未改动全部展开}sort(b+1,b+1+n);if(check(n)) ans++;js1:;}}else{for(int i=1;i<=n;i++){cntb=0;if(x[i]-cntx==0){173 行未改动全部展开}db A[3007],B[3007],C[3007];int main(){int n;scanf("%d",&n);for(int i=1;i<=n;i++)scanf("%lf%lf%lf",&A[i],&B[i],&C[i]);double s=0;for(int i=1;i<n-1;i++) for(int j=i+1;j<n;j++) for(int k=j+1;k<=n;k++)295 行未改动全部展开