| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2357 | 陶俊宸 | 乐乐的得分 | C++ | Wrong Answer | 0 | 0 MS | 268 KB | 255 | 2019-11-23 16:43:47 |
#include<iostream> int main(){ short a,b[20000],d=0,e=100,i; float c=0; scanf("%hd",&a); for (i=0;i<a;i++) { scanf("%hd",&b[i]); if (d<b[i]) d=b[i]; if (e>b[i]) e=b[i]; c+=b[i]; } c=(c-d-e)/(a-2); printf("%d",c); return 0; }