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