結果

問題 No.192 合成数
ユーザー m2543315647m2543315647
提出日時 2015-05-14 11:19:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 3,367 ms
コンパイル使用メモリ 71,336 KB
実行使用メモリ 56,212 KB
最終ジャッジ日時 2023-09-09 08:28:57
合計ジャッジ時間 8,021 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
55,992 KB
testcase_01 AC 113 ms
55,888 KB
testcase_02 AC 116 ms
55,972 KB
testcase_03 AC 112 ms
55,808 KB
testcase_04 AC 115 ms
54,008 KB
testcase_05 AC 111 ms
56,016 KB
testcase_06 AC 117 ms
55,892 KB
testcase_07 AC 118 ms
55,968 KB
testcase_08 AC 114 ms
56,072 KB
testcase_09 AC 117 ms
55,904 KB
testcase_10 AC 116 ms
55,848 KB
testcase_11 AC 114 ms
55,848 KB
testcase_12 AC 123 ms
55,956 KB
testcase_13 AC 116 ms
56,212 KB
testcase_14 AC 113 ms
54,108 KB
testcase_15 AC 113 ms
55,956 KB
testcase_16 AC 120 ms
56,064 KB
testcase_17 AC 118 ms
55,952 KB
testcase_18 AC 122 ms
55,684 KB
testcase_19 AC 118 ms
55,808 KB
testcase_20 AC 115 ms
55,984 KB
testcase_21 AC 113 ms
55,468 KB
testcase_22 AC 116 ms
55,744 KB
testcase_23 AC 113 ms
55,720 KB
testcase_24 AC 116 ms
55,996 KB
testcase_25 AC 117 ms
55,976 KB
testcase_26 AC 112 ms
53,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No192 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int ret=sc.nextInt();
		System.out.println(ret+(ret%2==0?0:1));
	}
}
0