結果

問題 No.304 鍵(1)
ユーザー javyjavy
提出日時 2015-11-27 22:34:24
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 419 ms / 2,000 ms
コード長 417 bytes
コンパイル時間 15,298 ms
コンパイル使用メモリ 418,596 KB
実行使用メモリ 66,932 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 20:53:25
合計ジャッジ時間 19,672 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 321 ms
66,112 KB
testcase_01 AC 326 ms
66,088 KB
testcase_02 AC 419 ms
66,828 KB
testcase_03 AC 327 ms
66,476 KB
testcase_04 AC 378 ms
66,108 KB
testcase_05 AC 319 ms
66,932 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:6:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

package Yukicoder

/**
 * Created by hichikawa on 2015/11/12.
 */
fun main(args: Array<String>) {
    for (i in 0..9) {
        for (j in 0..9) {
            for (k in 0..9) {
                println(i.toString() + j.toString() + k.toString())
                val input = readLine() as String
                if (input.equals("unlocked")) {
                    return
                }
            }
        }
    }
}
0