题解 | #牛牛的通勤#
牛牛的通勤
https://www.nowcoder.com/practice/1fe33d534843473eb086c4b42655e13d
#include <stdio.h>
int main() {
int x; //输入距离
scanf("%d",&x);
//float t1 = x/1.0;
//float t2 = x/10.0+10;
// if (t1<t2)
if(x<12){//结合题意,数学运算
printf("w");
} else{
printf("v");
}
return 0;
}
查看5道真题和解析