# include <stdio.h>
# include <math.h>
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m<a;m++)
scanf("%d",&b[m]);
for(m=0;m<a;m++)
s=b[m]+s;
double w=s/a;
if(w>=60)
{printf("no\n");}
else
{printf("yes\n");}
}
return 0;
}
# include
# include
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m scanf("%d",&b[m]);
for(m=0;m s=b[m]+s;
double w=s/a;
if(w>=60)
{printf("no\n");}
else
{printf("yes\n");}
}
return 0;
}
# include <stdio.h>
# include <math.h>
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m<a;m++)
scanf("%d",&b[m]);
for(m=0;m<a;m++)
s=b[m]+s;
double w=(double)s/a;
if(w>59){printf("no\n");}
else{printf("yes\n");}
}
return 0;
}
大概錯這兩個地方
同學你交大的耶
我也是交大的唷
交個朋友吧
# include
# include
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m scanf("%d",&b[m]);
for(m=0;m s=b[m]+s;
double w=(double)s/a;
if(w>=60)
{printf("no\n");}
else
{printf("yes\n");}
}
return 0;
}
記得要先轉型態
# include
# include
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m scanf("%d",&b[m]);
for(m=0;m s=b[m]+s;
double w=(double)s/a;
if(w>=60)
{printf("no\n");}
else
{printf("yes\n");}
}
return 0;
}
記得要先轉型態
# include
# include
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m scanf("%d",&b[m]);
for(m=0;m s=b[m]+s;
double w=(double)s/a;
if(w>=60)
{printf("no\n");}
else
{printf("yes\n");}
}
return 0;
}
記得要先轉型態
阿我又漏掉了XDD
眼睛越來越差了
我差點交大的
也交個朋友吧
哈哈哈
# include
# include
int main()
{ int a;
while(scanf("%d",&a)!=EOF)
{
int b[100],s=0,m;
for(m=0;m scanf("%d",&b[m]);
for(m=0;m s=b[m]+s;
double w=(double)s/a;
if(w>=60)
{printf("no\n");}
else
{printf("yes\n");}
}
return 0;
}
記得要先轉型態
阿我又漏掉了XDD
眼睛越來越差了
我差點交大的
也交個朋友吧
哈哈哈