結果

問題 No.701 ひとりしりとり
ユーザー 💕💖💞💕💖💞
提出日時 2018-06-16 02:59:01
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 10,238 ms
コンパイル使用メモリ 426,136 KB
実行使用メモリ 299,300 KB
最終ジャッジ日時 2024-04-30 18:52:59
合計ジャッジ時間 17,692 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 320 ms
56,876 KB
testcase_01 AC 303 ms
56,892 KB
testcase_02 AC 304 ms
56,872 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 OLE -
testcase_11 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args:Array<String>) {
         ^

ソースコード

diff #

fun main(args:Array<String>) {
  val n = readLine()!!.toInt()
  
  val buffs = mutableListOf<String>("an")
  (1..n-1).map { 
    buffs.add( "a".repeat(it+1) )
  }
  buffs.reversed().joinToString("\n").run(::println)
}
0