Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78321 王馨桐 做统计 C++ Wrong Answer 0 MS 272 KB 278 2024-06-18 17:47:03

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int lt=-2e9,tz,l=2e9,t,a; double sum=0; for(int i=1; i<=10; i++) { cin >>tz; if(tz>lt) { lt=tz; } if(tz<lt) { lt=tz; } sum+=tz; } printf("%d,%d,%lf",tz,lt,sum/tz); return 0; }


Run Info:

------Input------
25 3 30 58 94 94 58 6 22 62
------Answer-----
94,3,45.2
------Your output-----
62,62,7.290323