题解 | #牛牛的通勤#
牛牛的通勤
https://www.nowcoder.com/practice/1fe33d534843473eb086c4b42655e13d
#include <stdio.h> int main() { int distance = 0; scanf("%d",&distance); int walk = distance * 1; int takeCar = 10 + distance / 10; if (walk > takeCar) { printf("v"); } else { printf("w"); } return 0; }