#include<bits/stdc++.h> using namespace std; int a[100][100]; int main(){ double n,x; cin >> n >> x; cout<<fixed<<setprecision(2)<<n<<"+"<<x <<"=" << n+x << endl; //so easy }
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; std::cout << std::fixed << std::setprecision(2)<<a<<'+'<<b<<'='<<a+b; return 0; }
注册一个 CZOJ 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 CZOJ 通用账户