complete 9655.kt 25331.kt 32189.kt

This commit is contained in:
2025-07-18 22:09:07 +09:00
parent 5279ccf5b6
commit 75f6131331
3 changed files with 244 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
fun canWin(n: Int): Boolean {
return n % 2 != 0
}
fun main() = with(System.`in`.bufferedReader()) {
val n = this.readLine().toInt()
System.out.bufferedWriter().use {
it.write(
if (canWin(n)) {
"SK"
} else {
"CY"
}
)
}
}