题解 | #小乐乐是否被叫家长#
小乐乐是否被叫家长
http://www.nowcoder.com/practice/cc896ffd90d34c7faa318b04e87adf11
int main()
{
int arr[3] = { 0 };
int sum = 0;
for (int a = 0; a < 3; a++)
{
scanf("%d", &arr[a]);
sum += arr[a];
}
sum /= 3;
if (sum >= 60)
{
printf("NO\n");
}
else
{
printf("YES\n");
}
return 0;
}