結果

問題 No.2557 緑以下コンテスト
ユーザー loop0919loop0919
提出日時 2023-11-27 23:25:19
言語 Java21
(openjdk 21)
結果
AC  
実行時間 153 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 2,185 ms
コンパイル使用メモリ 74,048 KB
実行使用メモリ 57,980 KB
最終ジャッジ日時 2023-11-27 23:25:24
合計ジャッジ時間 3,971 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
57,824 KB
testcase_01 AC 124 ms
57,980 KB
testcase_02 AC 125 ms
57,944 KB
testcase_03 AC 126 ms
57,716 KB
testcase_04 AC 125 ms
57,704 KB
testcase_05 AC 127 ms
57,960 KB
testcase_06 AC 124 ms
57,964 KB
testcase_07 AC 153 ms
57,844 KB
testcase_08 AC 127 ms
57,852 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