Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112642 | 陈家渝 | 数组倒序输出 | C++ | Wrong Answer | 1 MS | 272 KB | 446 | 2025-03-09 19:57:08 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a[5],i,s=0; float p=0; for(i=0;i<5;i++) { cin>>a[i]; s+=a[i]; } for(i=0;i<5;i++) { printf("%.2f",s); } return 0; }
------Input------
12 109292 291023 393 393 32920201 19 3039 101 393 1 25 243968
------Answer-----
243968 25 1 393 101 3039 19 32920201 393 393 291023 109292
------Your output-----
0.000.000.000.000.00