为什么不能骗50pts
#include<bits/stdc++.h>
using namespace std;
int main(){
int T,m;
scanf("%d%d",&T,&m);
for(int i=0;i<T;i++){
double a,b,c;
scanf("%lf%lf%lf",&a,&b,&c);
if(b*b-4*a*c>=0){
if(b==0&&c==0)
printf("0\n");
else
printf("%lf\n",max(((-b+sqrt(b*b-4*a*c))/2.0/a),((-b-sqrt(b*b-4*a*c))/2.0/a)));
}
else {
printf("NO\n");
}
}
return 0;
}