結果
問題 | No.1461 しあはせや歩みゆく? |
ユーザー |
![]() |
提出日時 | 2021-04-02 21:26:50 |
言語 | Kotlin (2.1.0) |
結果 |
AC
|
実行時間 | 319 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 12,566 ms |
コンパイル使用メモリ | 423,460 KB |
実行使用メモリ | 49,852 KB |
最終ジャッジ日時 | 2024-12-23 18:15:20 |
合計ジャッジ時間 | 25,999 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 34 |
コンパイルメッセージ
Main.kt:6:10: warning: parameter 'args' is never used fun main(args:Array<String>) { ^
ソースコード
import java.util.* import javax.swing.plaf.SeparatorUI import kotlin.math.ceil import java.util.Queue as Queue1 fun main(args:Array<String>) { solve() } fun solve(){ val n = readLine()!!.toLong() if(n <= 3L) println(n) else println((n - 3) * 5 + 3) }