結果

問題 No.1475 時計の歯車Easy
ユーザー バカらっくバカらっく
提出日時 2022-02-03 14:00:30
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 330 ms / 2,000 ms
コード長 285 bytes
コンパイル時間 11,521 ms
コンパイル使用メモリ 413,288 KB
実行使用メモリ 57,560 KB
最終ジャッジ日時 2023-09-02 03:15:37
合計ジャッジ時間 29,652 ms
ジャッジサーバーID
(参考情報)
judge16 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 330 ms
57,268 KB
testcase_01 AC 330 ms
57,208 KB
testcase_02 AC 310 ms
57,124 KB
testcase_03 AC 322 ms
57,036 KB
testcase_04 AC 321 ms
57,148 KB
testcase_05 AC 316 ms
57,212 KB
testcase_06 AC 313 ms
56,924 KB
testcase_07 AC 312 ms
57,084 KB
testcase_08 AC 316 ms
57,180 KB
testcase_09 AC 319 ms
57,136 KB
testcase_10 AC 321 ms
57,312 KB
testcase_11 AC 316 ms
57,472 KB
testcase_12 AC 313 ms
57,468 KB
testcase_13 AC 309 ms
57,028 KB
testcase_14 AC 308 ms
57,140 KB
testcase_15 AC 316 ms
57,560 KB
testcase_16 AC 321 ms
56,964 KB
testcase_17 AC 318 ms
57,192 KB
testcase_18 AC 312 ms
57,496 KB
testcase_19 AC 312 ms
57,364 KB
testcase_20 AC 314 ms
57,408 KB
testcase_21 AC 320 ms
57,420 KB
testcase_22 AC 312 ms
57,052 KB
testcase_23 AC 308 ms
57,056 KB
testcase_24 AC 293 ms
53,252 KB
testcase_25 AC 314 ms
56,916 KB
testcase_26 AC 312 ms
57,328 KB
testcase_27 AC 304 ms
57,076 KB
testcase_28 AC 322 ms
57,188 KB
testcase_29 AC 319 ms
57,156 KB
testcase_30 AC 318 ms
57,192 KB
testcase_31 AC 313 ms
57,176 KB
testcase_32 AC 322 ms
57,252 KB
testcase_33 AC 315 ms
57,168 KB
testcase_34 AC 328 ms
57,196 KB
testcase_35 AC 308 ms
57,324 KB
testcase_36 AC 318 ms
56,964 KB
testcase_37 AC 315 ms
57,144 KB
testcase_38 AC 317 ms
57,416 KB
testcase_39 AC 311 ms
57,348 KB
testcase_40 AC 321 ms
57,472 KB
testcase_41 AC 317 ms
57,104 KB
testcase_42 AC 321 ms
57,344 KB
testcase_43 AC 319 ms
57,188 KB
testcase_44 AC 318 ms
57,292 KB
testcase_45 AC 318 ms
57,424 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:3:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

import java.lang.StringBuilder

fun main(args: Array<String>) {
    val n = readLine()!!.toInt()
    val ans = StringBuilder()
    repeat(n) {
        ans.appendLine(readLine()!!.split(" ").map{it.toInt()}.drop(1).sortedDescending().joinToString(" "))
    }
    print(ans.toString())
}
0