結果
問題 | No.692 square1001 and Permutation 1 |
ユーザー | 💕💖💞 |
提出日時 | 2018-06-14 23:05:59 |
言語 | Kotlin (1.9.23) |
結果 |
AC
|
実行時間 | 269 ms / 2,000 ms |
コード長 | 127 bytes |
コンパイル時間 | 9,858 ms |
コンパイル使用メモリ | 424,508 KB |
実行使用メモリ | 54,288 KB |
最終ジャッジ日時 | 2024-04-30 18:49:47 |
合計ジャッジ時間 | 11,651 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 253 ms
54,260 KB |
testcase_01 | AC | 269 ms
54,236 KB |
testcase_02 | AC | 244 ms
54,152 KB |
testcase_03 | AC | 250 ms
54,072 KB |
testcase_04 | AC | 256 ms
54,120 KB |
testcase_05 | AC | 244 ms
54,152 KB |
testcase_06 | AC | 254 ms
54,288 KB |
testcase_07 | AC | 250 ms
54,172 KB |
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used fun main(args:Array<String>) { ^
ソースコード
fun main(args:Array<String>) { val n = readLine()!!.toInt() when { n > 1 -> "Petr"; else -> "square1001" }.run(::println) }