結果

問題 No.2557 緑以下コンテスト
ユーザー loop0919loop0919
提出日時 2023-11-14 09:43:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 144 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 2,693 ms
コンパイル使用メモリ 74,696 KB
実行使用メモリ 57,988 KB
最終ジャッジ日時 2023-11-14 09:43:10
合計ジャッジ時間 4,014 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
57,844 KB
testcase_01 AC 144 ms
57,680 KB
testcase_02 AC 124 ms
57,988 KB
testcase_03 AC 126 ms
57,696 KB
testcase_04 AC 124 ms
57,732 KB
testcase_05 AC 125 ms
57,948 KB
testcase_06 AC 124 ms
57,956 KB
testcase_07 AC 124 ms
57,872 KB
testcase_08 AC 122 ms
57,936 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        
        if (N < 1200) {
            System.out.println("green");
        } else {
            System.out.println("difficult");
        }
    }
}
0