結果

問題 No.1642 Registration
ユーザー DieGo
提出日時 2021-08-25 22:16:03
言語 Kotlin
(2.1.0)
結果
AC  
実行時間 304 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 12,248 ms
コンパイル使用メモリ 424,076 KB
実行使用メモリ 54,292 KB
最終ジャッジ日時 2024-11-17 05:57:07
合計ジャッジ時間 15,663 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val n = readLine()!!.toInt()

    if ( n >= 100 ) {
        println(n)
    } else if ( n >= 10 ) {
        println(String.format("0%s", n))
    } else {
        println(String.format("00%s", n))
    }
}
0