結果
問題 |
No.192 合成数
|
ユーザー |
|
提出日時 | 2016-01-10 12:54:01 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 56 ms / 2,000 ms |
コード長 | 348 bytes |
コンパイル時間 | 3,276 ms |
コンパイル使用メモリ | 73,152 KB |
実行使用メモリ | 37,216 KB |
最終ジャッジ日時 | 2024-06-27 01:53:49 |
合計ジャッジ時間 | 5,666 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 25 |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No0192 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); System.out.println( N % 2 == 0 ? N : N - 1); } }