#include<bits/stdc++.h>//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZusing namespace std;
long long n,d,v[100005];
struct sta{
long long a,num;
}station[100005];
long long nim=1145141919810,nimm;
long long sroad(long long l,long long r){
long long zxc_ak_csp=0;
for(int i=l;i<=r-1;i++){
zxc_ak_csp+=v[i];
}
return zxc_ak_csp;
}#include<bits/stdc++.h>//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZ//I Love You ZYZusing namespace std;
long long n,d,v[100005];
struct sta{
long long a,num;
}station[100005];
long long nim=1145141919810,nimm;
long long sroad(long long l,long long r){
long long zxc_ak_csp=0;
for(int i=l;i<=r-1;i++){
zxc_ak_csp+=v[i];
}
return zxc_ak_csp;
}
zxc ak ioi
同样是xzc这为dailao
\SN-J00368\uqe\uqe.cpp
(完整)
C++
//I Love You CCF!//this math problem is really difficult//I can't solve it//i will v you 50//so can you tell me how to solve this problem?#include<bits/stdc++.h>using namespace std;
long long T,M;
int main(){
freopen("uqe.in","r",stdin);
freopen("uqe.out","w",stdout);
cin>>T>>M;
while(T--){
long long a,b,c;
cin>>a>>b>>c;
long long al=b*b-4*a*c;
if(al<0){
cout<<"NO"<<endl;
continue;
}
double x=max((sqrt(al)-b)*1.0/2/a,(0-sqrt(al)-b)*1.0/2/a);
cout<<x<<endl;
}
fclose(stdin);
fclose(stdout);
}
//SN-J00368 西安高新第一小学 11岁
#include<bits/stdc++.h>using namespace std;
int main(){
freopen("bus.in","r",stdin);
freopen("bus.ans","w",stdout);
cout<<6<<endl;
}
L5:freopen(bus.ans,“w”,stdout)_
(共24个程序出现此问题,此处暂时不做展示)
\source\SN-J00368\apple\apple.cpp
C++
//I DON'T LOVE MATH PROBLEM!// /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao /oh /tiao// qwq//By Luogu 661274//math problem :(//I love easy problem but not math problem//10^9 ?? are you kidding?// /oh /oh /oh// 2= AFO//wo yao zhu shi freopen !//zhe dian nao zen me da bu liao zhong wen//zhe dian nao hao la ji // /oh /oh /oh /oh