(int n)
| 39 | } |
| 40 | |
| 41 | public static String winner2(int n) { |
| 42 | if (n % 5 == 0 || n % 5 == 2) { |
| 43 | return "后手"; |
| 44 | } else { |
| 45 | return "先手"; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | public static void main(String[] args) { |
| 50 | for (int i = 0; i <= 50; i++) { |
nothing calls this directly
no outgoing calls
no test coverage detected