結果

問題 No.192 合成数
ユーザー トミートミー
提出日時 2024-04-12 23:48:47
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 331 ms
コンパイル使用メモリ 82,468 KB
実行使用メモリ 53,948 KB
最終ジャッジ日時 2024-04-12 23:48:51
合計ジャッジ時間 3,922 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,728 KB
testcase_01 AC 37 ms
52,492 KB
testcase_02 AC 38 ms
52,264 KB
testcase_03 AC 37 ms
52,568 KB
testcase_04 AC 37 ms
52,408 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 38 ms
52,072 KB
testcase_09 AC 38 ms
52,568 KB
testcase_10 WA -
testcase_11 AC 37 ms
52,076 KB
testcase_12 WA -
testcase_13 AC 37 ms
52,484 KB
testcase_14 AC 37 ms
52,212 KB
testcase_15 AC 37 ms
52,480 KB
testcase_16 AC 38 ms
52,140 KB
testcase_17 AC 38 ms
52,412 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 38 ms
52,824 KB
testcase_21 AC 37 ms
52,780 KB
testcase_22 AC 38 ms
52,464 KB
testcase_23 WA -
testcase_24 AC 37 ms
53,468 KB
testcase_25 WA -
testcase_26 AC 38 ms
52,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n=int(input())
    n=n+4 if n<4 else n
    result=n if n%2==0 else n+1
    print(n)


if __name__ == "__main__":
    main()
0