Created
October 13, 2020 03:42
-
-
Save crakaC/ec790e15d470862fd72208d754f8f39f to your computer and use it in GitHub Desktop.
KotlinでAtCoderやるときの雛形
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(){ | |
} | |
fun readInt() = readLine()!!.toInt() | |
fun readInts() = readLine()!!.split(" ").map(String::toInt) | |
fun <T>printAll(a: Collection<T>) = println(a.joinToString("\n")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment