結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー takutakutakutaku
提出日時 2020-09-17 15:17:28
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 258 bytes
コンパイル時間 2,694 ms
コンパイル使用メモリ 70,896 KB
実行使用メモリ 56,132 KB
最終ジャッジ日時 2023-09-04 07:16:34
合計ジャッジ時間 11,726 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
55,744 KB
testcase_01 AC 130 ms
55,452 KB
testcase_02 AC 128 ms
55,644 KB
testcase_03 AC 127 ms
55,684 KB
testcase_04 AC 127 ms
55,404 KB
testcase_05 AC 130 ms
55,712 KB
testcase_06 AC 128 ms
56,000 KB
testcase_07 AC 129 ms
55,764 KB
testcase_08 AC 132 ms
55,684 KB
testcase_09 AC 130 ms
55,788 KB
testcase_10 AC 128 ms
55,824 KB
testcase_11 AC 128 ms
55,928 KB
testcase_12 AC 128 ms
55,972 KB
testcase_13 AC 129 ms
56,068 KB
testcase_14 AC 130 ms
55,408 KB
testcase_15 AC 135 ms
55,784 KB
testcase_16 AC 132 ms
55,704 KB
testcase_17 AC 131 ms
55,748 KB
testcase_18 AC 133 ms
55,724 KB
testcase_19 AC 132 ms
55,900 KB
testcase_20 AC 133 ms
55,488 KB
testcase_21 AC 129 ms
55,856 KB
testcase_22 AC 129 ms
55,668 KB
testcase_23 AC 131 ms
55,880 KB
testcase_24 AC 129 ms
55,460 KB
testcase_25 AC 128 ms
55,672 KB
testcase_26 AC 132 ms
55,800 KB
testcase_27 AC 131 ms
55,788 KB
testcase_28 AC 130 ms
55,744 KB
testcase_29 AC 129 ms
56,008 KB
testcase_30 AC 130 ms
55,944 KB
testcase_31 AC 130 ms
55,472 KB
testcase_32 AC 132 ms
55,752 KB
testcase_33 AC 136 ms
55,440 KB
testcase_34 AC 131 ms
55,912 KB
testcase_35 AC 130 ms
55,696 KB
testcase_36 AC 132 ms
55,392 KB
testcase_37 AC 132 ms
55,700 KB
testcase_38 AC 127 ms
55,716 KB
testcase_39 AC 132 ms
55,712 KB
testcase_40 AC 132 ms
56,132 KB
testcase_41 AC 131 ms
55,808 KB
testcase_42 AC 131 ms
55,684 KB
testcase_43 AC 131 ms
56,028 KB
testcase_44 AC 132 ms
55,428 KB
testcase_45 AC 133 ms
55,472 KB
testcase_46 AC 131 ms
55,696 KB
testcase_47 AC 133 ms
55,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main(String[] args) {
	    
	    // 標準入力を受け取る
	    Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        
        
        System.out.println(2017 - n);
	}
}
0