結果

問題 No.244 ★1のグラフの問題
ユーザー javyjavy
提出日時 2015-11-13 02:04:02
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 294 ms / 2,000 ms
コード長 242 bytes
コンパイル時間 13,534 ms
コンパイル使用メモリ 425,252 KB
実行使用メモリ 49,976 KB
最終ジャッジ日時 2024-04-30 07:07:17
合計ジャッジ時間 16,260 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 290 ms
49,712 KB
testcase_01 AC 286 ms
49,868 KB
testcase_02 AC 286 ms
49,644 KB
testcase_03 AC 294 ms
49,720 KB
testcase_04 AC 288 ms
49,832 KB
testcase_05 AC 288 ms
49,824 KB
testcase_06 AC 286 ms
49,804 KB
testcase_07 AC 287 ms
49,880 KB
testcase_08 AC 284 ms
49,792 KB
testcase_09 AC 293 ms
49,976 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>) {
    fun readLineLong(): Long {
        val str = readLine() as String
        return str.toLong()
    }
    println(readLineLong()-1.toLong())
}
0