Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
156 A班-高思婕 a + b C++ 输出格式错误 0 3 MS 264 KB 203 2024-11-16 11:54:05

Tests(0/1):


#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i = 1;i <= n;i++) { float a,b; cin>>a>>b; cout<<setprecision(2)<<fixed<<a+b<<endl; } return 0; }


测评信息:

输入

50
839.08 999.91
963.62 975.74
4.40 898.56
249.67 673.42
737.85 736.32
69.61 872.00
192.18 146.89
745.45 436.11
781.79 362.44
655.60 506.30
757.32 113.83
658.38 853.69
266.86 72.51
892.58 103.67
809....

输出

1838.99
1939.36
902.96
923.09
1474.17
941.61
339.07
1181.56
1144.23
1161.90
871.15
1512.07
339.37
996.25
923.83
470.84
674.61
463.64
1026.98
1061.04
1288.10
791.77
1089.08
193.86
989.44
753.01
1420.8...

答案

1838.99

1939.36

902.96

923.09

1474.17

941.61

339.07

1181.56

1144.23

1161.90

871.15

1512.07

339.37

996.25

923.83

470.84

674.61

463.64

1026.98

1061.04

1288.10

791.77

1089.08

193....

系统信息

exit code: 0, checker exit code: 0