| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2362 | 陶俊宸 | 找找谁的身高超过全班的平均身高 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 239 | 2019-11-23 20:36:31 |
#include<iostream> int main(){ short a,b[101],c=0,i; scanf("%hd",&a); for (i=1;i<=a;i++) { scanf("%hd",&b[i]); c+=b[i]; } c/=a; for (i=1;i<=a;i++) { if (b[i]>c) { printf("%hd:%hd ",i,b[i]); } } return 0; }