diff --git "a/LiiNi-coder/202603/08 BOJ Moo\352\262\214\354\236\204.md" "b/LiiNi-coder/202603/08 BOJ Moo\352\262\214\354\236\204.md" new file mode 100644 index 00000000..6649dac4 --- /dev/null +++ "b/LiiNi-coder/202603/08 BOJ Moo\352\262\214\354\236\204.md" @@ -0,0 +1,41 @@ +```java +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; + +public class Main{ + private static long[] Arr = new long[50]; + public static void main(String[] args) throws IOException{ + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + long N = Long.parseLong(br.readLine()); + Arr[0] = 3; + int k = 0; + + while(Arr[k] Arr[k-1] && n<= Arr[k-1]+k+3){ + if(n== Arr[k-1] + 1) + return 'm'; + return 'o'; + } + + return find(k-1,n - (Arr[k-1]+ (k+3))); + } +} +```