竞赛
考级
CEGO.txy
#include<iostream> #include<iomanip> using namespace std; int main(){ float a,b; cin>>a>>b; cout<<fixed<<setprecision(2)<<a+b; return 0; }
Andes99
#include<iostream> using namespace std; int main() { double a,b; cin>>a>>b; printf("%.2f",a+b); return 0; }
龙猫
136****4819
yang(Python)
超简单
我不会C++
↯ 暗黑之龙↯
#include<bits/stdc++.h> using namespace std; int main(){ double a , b; cin >> a >> b; cout << fixed << setprecision(2) << a + b; return 0; }
DARK SPECTRE
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.2f",a+b); }
菜
很简单的一道题,把输入的两个浮点数相加,再输出并保留两位小数就行了。
星辰
Macw08
༺ཌༀ™☯追光·少年☯™ༀད༻
???
#include<bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; printf("%.2f",a+b); return 0; }
张宗铭
num = input() s = num.split() a = float(s[0]) b = float(s[1]) c = '{:.2f}'.format(a+b) print(c)
Leo
#include<bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; printf("%.2lf",a+b); return 0; }
冥王之眼_msc_MC_Him
#include <bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; cout<<fixed<<setprecision(2)<<a+b; return 0; }
150****8189
坤ba~~~ #include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; cout<<fixed<<setprecision(2)<<a+b; return 0; }
名侦探柯南 IOI OI排名最高
#include<bits/stdc++.h> using namespace std; int main(){ float a,b; cin>>a>>b; printf("%.2f",a+b); return 0;}
许宸硕
#include<iostream> #include<cstdio> using namespace std; int main(){ double a,s,sum; cin>>a>>s; sum=a+s; printf("%.2f",sum); return 0; }
珠江新城长老帅
共58条