题解 | #牛牛的通勤#
牛牛的通勤
https://www.nowcoder.com/practice/1fe33d534843473eb086c4b42655e13d
#include <stdio.h>
int main()
{
int s=0;
int t=0;
scanf("%d",&s);
int x=s/10+10;
if(x>s) //走路快
{
printf("w");
} //t=s/v 打车的时间:s/10+10 走路的时间:s
if(x<s)
{
printf("v");
}
}