Skip to content

Instantly share code, notes, and snippets.

@segomin
Last active May 17, 2024 11:54
Show Gist options
  • Save segomin/eb921e1b13fc88d3bd022a94ec28e87c to your computer and use it in GitHub Desktop.
Save segomin/eb921e1b13fc88d3bd022a94ec28e87c to your computer and use it in GitHub Desktop.
algo4.2

제거집합 {2,5,6}

if (x > 10) 
   (x - 11) % 11 == 2,3, 5,6,7, 9,10
else 
   2, 5,6,7,8,9,10
idx idx
0 L
1 L
2 W
3 L
4 L
5 W
6 W
7 W
8 W
9 W
10 W
11 L 22 L
12 L 23 L
13 W 24 W
14 W 25 W
15 L 26 L
16 W 27 W
17 W 28 W
18 W 29 W
19 L 30 L
20 W 31 W
21 W 32 W
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment