#include <stdio.h> int main(){ int n; int count=0; int sum=0; while (scanf("%d",&n)!=EOF && n>=0){ count++; sum+=n; } if (count>0){printf("%.2f\n", (double)sum/count);} if (count==0){printf("None");} return 0; }
#include <stdio.h> int main(){ int n; int count=0; int sum=0; while (scanf("%d",&n)!=EOF && n>=0){ count++; sum+=n; } if (count>0){printf("%.2f\n", (double)sum/count);} if (count==0){printf("None");} return 0; }
天 : 20052
小时 : 467879
分钟 : 28072722
秒 : 1684363320