結果

問題 No.1256 連続整数列
ユーザー shojin_proshojin_pro
提出日時 2021-02-15 05:32:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 2,108 ms
コンパイル使用メモリ 71,180 KB
実行使用メモリ 56,540 KB
最終ジャッジ日時 2023-09-29 23:43:12
合計ジャッジ時間 6,607 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
55,992 KB
testcase_01 AC 105 ms
55,900 KB
testcase_02 AC 103 ms
56,380 KB
testcase_03 AC 107 ms
55,604 KB
testcase_04 AC 107 ms
56,244 KB
testcase_05 AC 105 ms
55,748 KB
testcase_06 AC 105 ms
56,044 KB
testcase_07 AC 104 ms
56,244 KB
testcase_08 AC 106 ms
55,940 KB
testcase_09 AC 104 ms
55,868 KB
testcase_10 AC 102 ms
55,908 KB
testcase_11 AC 104 ms
55,760 KB
testcase_12 AC 105 ms
55,836 KB
testcase_13 AC 105 ms
56,152 KB
testcase_14 AC 105 ms
56,540 KB
testcase_15 AC 102 ms
55,704 KB
testcase_16 AC 107 ms
56,412 KB
testcase_17 AC 105 ms
55,832 KB
testcase_18 AC 106 ms
55,908 KB
testcase_19 AC 103 ms
56,004 KB
testcase_20 AC 104 ms
55,772 KB
testcase_21 AC 104 ms
56,024 KB
testcase_22 AC 104 ms
55,468 KB
testcase_23 AC 104 ms
56,128 KB
testcase_24 AC 106 ms
55,688 KB
testcase_25 AC 102 ms
55,520 KB
権限があれば一括ダウンロードができます

ソースコード

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();
        System.out.println(n != 1 ? "YES" : "NO");
    }
}
0