#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; }
天 : 20083
小时 : 468606
分钟 : 28116363
秒 : 1686981780