Created
August 10, 2023 01:30
-
-
Save TerryJung/7e669106c7690e8d45f1ea5f2ee23a7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
val array = intArrayOf(5, 4, 3, 2, 1) | |
val commands = arrayOf(intArrayOf(1, 5, 3)) | |
val result = Solution().solution(array, commands) | |
println(result.joinToString(", ")) // 정상적인 경우 출력: 3, 하지만 여기서는 다른 값이 출력될 것입니다. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment