結果

問題 No.1128 Wedding Ceremony
ユーザー planetWorldY
提出日時 2020-10-28 17:33:23
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 343 bytes
コンパイル時間 2,088 ms
コンパイル使用メモリ 74,284 KB
実行使用メモリ 56,108 KB
最終ジャッジ日時 2024-07-21 22:17:30
合計ジャッジ時間 6,137 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        if(n >= 2 && 3 / n != 0){
            System.out.println(3);
            
        }else{
            System.out.println(11);
        }
    
        
    }
}
0