林永吉的Algorithm库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
86 B

  1. #pragma once
  2. //解题思路:
  3. //经过推导,当给定的n为4的倍数时,必输
  4. bool CanWinNim(int n);