結果

問題 No.1291 小手調べ
ユーザー face4
提出日時 2021-04-13 10:07:28
言語 Kotlin
(2.1.0)
結果
AC  
実行時間 436 ms / 2,000 ms
コード長 326 bytes
コンパイル時間 12,313 ms
コンパイル使用メモリ 430,500 KB
実行使用メモリ 52,840 KB
最終ジャッジ日時 2024-06-29 04:19:19
合計ジャッジ時間 12,135 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val n = readLine()!!.toInt()
    repeat(n){
        readLine()!!.toInt().let{
            if(it == 1){
                println(10)
            }else{
                print(9)
                repeat(it-1){
                    print(0)
                }
                println()
            }
        }
    }
}
0