結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー arbtarbt
提出日時 2017-09-17 12:15:50
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 328 ms / 2,000 ms
コード長 354 bytes
コンパイル時間 8,929 ms
コンパイル使用メモリ 431,040 KB
実行使用メモリ 55,564 KB
最終ジャッジ日時 2024-04-30 16:09:45
合計ジャッジ時間 24,446 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 290 ms
55,364 KB
testcase_01 AC 284 ms
55,332 KB
testcase_02 AC 287 ms
55,260 KB
testcase_03 AC 293 ms
55,280 KB
testcase_04 AC 287 ms
55,276 KB
testcase_05 AC 295 ms
55,340 KB
testcase_06 AC 287 ms
55,204 KB
testcase_07 AC 301 ms
55,248 KB
testcase_08 AC 283 ms
55,228 KB
testcase_09 AC 286 ms
55,300 KB
testcase_10 AC 287 ms
55,436 KB
testcase_11 AC 279 ms
55,352 KB
testcase_12 AC 279 ms
55,196 KB
testcase_13 AC 284 ms
55,216 KB
testcase_14 AC 292 ms
55,192 KB
testcase_15 AC 291 ms
55,316 KB
testcase_16 AC 291 ms
55,276 KB
testcase_17 AC 328 ms
55,224 KB
testcase_18 AC 284 ms
55,312 KB
testcase_19 AC 294 ms
55,272 KB
testcase_20 AC 282 ms
55,436 KB
testcase_21 AC 292 ms
55,304 KB
testcase_22 AC 282 ms
55,408 KB
testcase_23 AC 286 ms
55,276 KB
testcase_24 AC 310 ms
55,136 KB
testcase_25 AC 290 ms
55,148 KB
testcase_26 AC 302 ms
55,220 KB
testcase_27 AC 308 ms
55,440 KB
testcase_28 AC 297 ms
55,380 KB
testcase_29 AC 307 ms
55,220 KB
testcase_30 AC 317 ms
55,200 KB
testcase_31 AC 318 ms
55,172 KB
testcase_32 AC 313 ms
55,240 KB
testcase_33 AC 290 ms
55,424 KB
testcase_34 AC 288 ms
55,180 KB
testcase_35 AC 294 ms
55,180 KB
testcase_36 AC 294 ms
55,276 KB
testcase_37 AC 288 ms
55,276 KB
testcase_38 AC 283 ms
55,240 KB
testcase_39 AC 284 ms
55,564 KB
testcase_40 AC 285 ms
55,256 KB
testcase_41 AC 279 ms
55,256 KB
testcase_42 AC 279 ms
55,224 KB
testcase_43 AC 292 ms
55,192 KB
testcase_44 AC 286 ms
55,180 KB
testcase_45 AC 284 ms
55,216 KB
testcase_46 AC 280 ms
55,180 KB
testcase_47 AC 286 ms
55,244 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:13:11: warning: parameter 'argv' is never used
fun main( argv : Array<String> ) {
          ^

ソースコード

diff #

import java.util.Scanner

//
fun _Do() {

    val Y = scan.nextInt()// 1-
    
    println(2017-Y)
}

var scan = Scanner(System.`in`)
fun main( argv : Array<String> ) {
    _Do()
}

fun strings(N:Int):Array<String> = Array(N,{scan.next()})
fun ints(N:Int):Array<Int> = Array(N,{scan.nextInt()})
fun longs(N:Int):Array<Long> = Array(N,{scan.nextLong()})
0