結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー バカらっくバカらっく
提出日時 2022-02-03 12:59:09
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 308 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 11,843 ms
コンパイル使用メモリ 411,528 KB
実行使用メモリ 53,436 KB
最終ジャッジ日時 2023-09-02 03:12:37
合計ジャッジ時間 19,913 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 303 ms
53,232 KB
testcase_01 AC 302 ms
53,140 KB
testcase_02 AC 305 ms
53,140 KB
testcase_03 AC 301 ms
52,976 KB
testcase_04 AC 299 ms
53,120 KB
testcase_05 AC 306 ms
53,156 KB
testcase_06 AC 300 ms
53,280 KB
testcase_07 AC 300 ms
53,376 KB
testcase_08 AC 299 ms
53,012 KB
testcase_09 AC 300 ms
53,052 KB
testcase_10 AC 301 ms
53,076 KB
testcase_11 AC 302 ms
53,380 KB
testcase_12 AC 302 ms
53,336 KB
testcase_13 AC 299 ms
53,024 KB
testcase_14 AC 308 ms
53,052 KB
testcase_15 AC 303 ms
53,020 KB
testcase_16 AC 305 ms
53,156 KB
testcase_17 AC 300 ms
52,996 KB
testcase_18 AC 302 ms
53,436 KB
testcase_19 AC 301 ms
53,076 KB
testcase_20 AC 301 ms
52,992 KB
testcase_21 AC 305 ms
53,300 KB
testcase_22 AC 302 ms
53,064 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {
    val d = readLine()!!.toInt()
    val tmp = (1..d).toList().joinToString("")
    println(tmp[d-1])
}
0