题解 | 牛牛的通勤
牛牛的通勤
https://www.nowcoder.com/practice/1fe33d534843473eb086c4b42655e13d
import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc. nextInt();
int b = a/1;
int c = a/10 + 10;
if(b>c) System.out.println("v");
else System.out.println("w");
}
}
网易游戏公司福利 643人发布