結果

問題 No.69 文字を自由に並び替え
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-11-17 20:46:44
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 308 ms / 5,000 ms
コード長 112 bytes
コンパイル時間 10,515 ms
コンパイル使用メモリ 424,936 KB
実行使用メモリ 55,312 KB
最終ジャッジ日時 2023-10-25 21:29:55
合計ジャッジ時間 16,115 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 300 ms
55,296 KB
testcase_01 AC 299 ms
55,288 KB
testcase_02 AC 308 ms
55,300 KB
testcase_03 AC 299 ms
55,312 KB
testcase_04 AC 298 ms
55,292 KB
testcase_05 AC 295 ms
55,300 KB
testcase_06 AC 298 ms
55,304 KB
testcase_07 AC 299 ms
55,296 KB
testcase_08 AC 300 ms
55,308 KB
testcase_09 AC 300 ms
55,304 KB
testcase_10 AC 299 ms
55,312 KB
testcase_11 AC 298 ms
55,312 KB
testcase_12 AC 298 ms
55,304 KB
testcase_13 AC 300 ms
55,304 KB
testcase_14 AC 300 ms
55,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main(){println(if(readLine()!!.toCharArray().sorted()==readLine()!!.toCharArray().sorted())"YES" else "NO")}
0