結果

問題 No.701 ひとりしりとり
ユーザー 💕💖💞💕💖💞
提出日時 2018-06-16 03:07:12
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 249 bytes
コンパイル時間 10,524 ms
コンパイル使用メモリ 434,252 KB
実行使用メモリ 108,488 KB
最終ジャッジ日時 2024-04-30 18:53:45
合計ジャッジ時間 18,233 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 306 ms
56,864 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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%.8fa".format(Math.random()).replace("0.", "") )
  }
  buffs.reversed().joinToString("\n").run(::println)
}
0