結果

問題 No.1461 しあはせや歩みゆく?
ユーザー face4face4
提出日時 2021-04-06 22:26:37
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 272 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 13,652 ms
コンパイル使用メモリ 407,920 KB
実行使用メモリ 50,604 KB
最終ジャッジ日時 2023-09-02 13:57:41
合計ジャッジ時間 26,051 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 260 ms
50,220 KB
testcase_01 AC 262 ms
50,284 KB
testcase_02 AC 263 ms
50,340 KB
testcase_03 AC 265 ms
50,080 KB
testcase_04 AC 267 ms
50,180 KB
testcase_05 AC 264 ms
50,148 KB
testcase_06 AC 258 ms
50,204 KB
testcase_07 AC 258 ms
50,192 KB
testcase_08 AC 258 ms
50,220 KB
testcase_09 AC 258 ms
50,120 KB
testcase_10 AC 260 ms
50,220 KB
testcase_11 AC 263 ms
50,156 KB
testcase_12 AC 261 ms
50,364 KB
testcase_13 AC 260 ms
50,180 KB
testcase_14 AC 257 ms
50,076 KB
testcase_15 AC 260 ms
50,072 KB
testcase_16 AC 264 ms
50,248 KB
testcase_17 AC 263 ms
50,604 KB
testcase_18 AC 262 ms
50,116 KB
testcase_19 AC 263 ms
50,468 KB
testcase_20 AC 267 ms
50,072 KB
testcase_21 AC 262 ms
50,124 KB
testcase_22 AC 263 ms
50,352 KB
testcase_23 AC 272 ms
50,220 KB
testcase_24 AC 263 ms
50,104 KB
testcase_25 AC 263 ms
50,316 KB
testcase_26 AC 271 ms
50,268 KB
testcase_27 AC 265 ms
50,228 KB
testcase_28 AC 265 ms
50,036 KB
testcase_29 AC 266 ms
50,148 KB
testcase_30 AC 271 ms
50,220 KB
testcase_31 AC 268 ms
50,328 KB
testcase_32 AC 264 ms
50,572 KB
testcase_33 AC 263 ms
50,552 KB
testcase_34 AC 267 ms
50,468 KB
testcase_35 AC 265 ms
50,196 KB
testcase_36 AC 263 ms
50,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main(){
    val n : Long = readLine()!!.toLong()
    println(if(n<4) n else (n-3)*5+3)
}
0