竞赛
考级
#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 <iostream> using namespace std; int main(){ float a,b,c; cin >> a >> b;; printf("%.2lf",a+b);//保留两位小数 return 0; }
水牛🐃
#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排名最高
136****4819
#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; }
你个纸张畜生
#include<iostream> using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.2f",a+b); return 0; }
金角巨兽
zsy
#include<iostream> using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.2f",a+b); }
天之神-哀
a,b=input().split() a=float(a) b=float(b) c=a+b c='%.2f' % c print(c)
无敌de鳖佬仔给老爷爷ccb
共55条