結果

問題 No.1256 連続整数列
ユーザー キョウチクキョウチク
提出日時 2022-05-16 08:53:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 309 bytes
コンパイル時間 2,802 ms
コンパイル使用メモリ 71,684 KB
実行使用メモリ 56,100 KB
最終ジャッジ日時 2023-10-12 00:42:46
合計ジャッジ時間 6,750 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
55,844 KB
testcase_01 AC 111 ms
55,640 KB
testcase_02 AC 110 ms
55,416 KB
testcase_03 AC 109 ms
55,684 KB
testcase_04 AC 110 ms
56,080 KB
testcase_05 AC 108 ms
55,384 KB
testcase_06 AC 112 ms
55,712 KB
testcase_07 AC 111 ms
53,560 KB
testcase_08 AC 112 ms
55,676 KB
testcase_09 AC 112 ms
55,644 KB
testcase_10 AC 112 ms
55,612 KB
testcase_11 AC 111 ms
55,692 KB
testcase_12 AC 113 ms
55,928 KB
testcase_13 AC 111 ms
55,680 KB
testcase_14 AC 112 ms
55,348 KB
testcase_15 AC 111 ms
55,720 KB
testcase_16 AC 111 ms
55,348 KB
testcase_17 AC 109 ms
55,692 KB
testcase_18 AC 111 ms
56,100 KB
testcase_19 AC 106 ms
55,676 KB
testcase_20 AC 110 ms
55,852 KB
testcase_21 AC 109 ms
55,472 KB
testcase_22 AC 110 ms
55,628 KB
testcase_23 AC 109 ms
55,636 KB
testcase_24 AC 110 ms
55,860 KB
testcase_25 AC 111 ms
55,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Test10 {
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    String line;
    line=sc.nextLine();
    int a=Integer.parseInt(line),n=1+2;
    String result="NO";
    if(a>=2) result="YES";
    System.out.println(result);
    sc.close();
  }
}
0