题解 | #小乐乐是否被叫家长#
小乐乐是否被叫家长
http://www.nowcoder.com/practice/cc896ffd90d34c7faa318b04e87adf11
#include <stdio.h> int main () { int a,b,c; scanf("%d %d %d",&a,&b,&c); int x=a+b+c; if(x/3>=60){ printf("NO"); }else{ printf("YES"); } return 0; }
小乐乐是否被叫家长
http://www.nowcoder.com/practice/cc896ffd90d34c7faa318b04e87adf11
#include <stdio.h> int main () { int a,b,c; scanf("%d %d %d",&a,&b,&c); int x=a+b+c; if(x/3>=60){ printf("NO"); }else{ printf("YES"); } return 0; }
相关推荐