結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-10 15:10:57
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 2,291 ms
コンパイル使用メモリ 73,600 KB
実行使用メモリ 41,464 KB
最終ジャッジ日時 2024-04-21 14:10:43
合計ジャッジ時間 9,784 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
41,164 KB
testcase_01 AC 128 ms
41,188 KB
testcase_02 AC 127 ms
41,108 KB
testcase_03 AC 128 ms
41,120 KB
testcase_04 AC 126 ms
41,120 KB
testcase_05 AC 130 ms
41,272 KB
testcase_06 AC 114 ms
40,160 KB
testcase_07 AC 128 ms
40,868 KB
testcase_08 AC 120 ms
40,688 KB
testcase_09 AC 129 ms
41,188 KB
testcase_10 AC 117 ms
40,124 KB
testcase_11 AC 128 ms
41,228 KB
testcase_12 AC 115 ms
39,852 KB
testcase_13 AC 128 ms
41,288 KB
testcase_14 AC 114 ms
40,208 KB
testcase_15 AC 115 ms
40,132 KB
testcase_16 AC 128 ms
40,892 KB
testcase_17 AC 129 ms
41,228 KB
testcase_18 AC 116 ms
40,192 KB
testcase_19 AC 114 ms
40,192 KB
testcase_20 AC 115 ms
40,064 KB
testcase_21 AC 128 ms
41,256 KB
testcase_22 AC 129 ms
41,116 KB
testcase_23 AC 125 ms
40,900 KB
testcase_24 AC 127 ms
41,024 KB
testcase_25 AC 128 ms
41,308 KB
testcase_26 AC 115 ms
40,148 KB
testcase_27 AC 129 ms
41,236 KB
testcase_28 AC 129 ms
41,324 KB
testcase_29 AC 126 ms
41,248 KB
testcase_30 AC 129 ms
40,900 KB
testcase_31 AC 128 ms
41,124 KB
testcase_32 AC 130 ms
41,464 KB
testcase_33 AC 116 ms
40,020 KB
testcase_34 AC 127 ms
41,320 KB
testcase_35 AC 114 ms
40,220 KB
testcase_36 AC 127 ms
41,376 KB
testcase_37 AC 115 ms
39,936 KB
testcase_38 AC 120 ms
40,704 KB
testcase_39 AC 130 ms
41,344 KB
testcase_40 AC 127 ms
41,220 KB
testcase_41 AC 126 ms
41,372 KB
testcase_42 AC 123 ms
40,992 KB
testcase_43 AC 114 ms
39,852 KB
testcase_44 AC 126 ms
41,108 KB
testcase_45 AC 129 ms
41,248 KB
testcase_46 AC 122 ms
40,884 KB
testcase_47 AC 114 ms
40,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.math.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		System.out.println(2017-n);
	}
}
0