結果
| 問題 | No.1128 Wedding Ceremony |
| ユーザー |
|
| 提出日時 | 2020-08-02 11:48:59 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 27 ms / 2,000 ms |
| + 667µs | |
| コード長 | 278 bytes |
| 記録 | |
| コンパイル時間 | 1,334 ms |
| コンパイル使用メモリ | 82,744 KB |
| 実行使用メモリ | 43,940 KB |
| 最終ジャッジ日時 | 2026-08-16 22:14:45 |
| 合計ジャッジ時間 | 3,232 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 |
ソースコード
import java.io.*;
public class Main {
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*2+1);
}
}