Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
110 | A班-过懿萱 | a + b | C++ | Presentation Error | 0 | 1 MS | 268 KB | 241 | 2024-11-16 10:49:52 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i = 1;i <= n;i++) { double a,b; cin>>a>>b; cout<<setprecision(2)<<fixed<<a + b<<endl; } cout<<endl; cout<<endl;return 0; }