题解 | #缩短二进制#
成绩输入输出
http://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c
#include<stdio.h> #include<assert.h> int main() { //变量初始化 int a = 0, b = 0, c = 0; scanf("%d%d%d",&a,&b,&c); assert(a>=0&&a<=100);//断言 assert(b>=0&&b<=100);//断言 assert(c>=0&&c<=100);//断言 printf("score1=%d,score2=%d,score3=%d",a,b,c); return 0; } //请各位大佬看看assert用的是否有问题