結果

問題 No.1672 404 Not Found
ユーザー tentententen
提出日時 2021-09-13 13:04:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 42 ms / 1,000 ms
コード長 916 bytes
コンパイル時間 1,982 ms
コンパイル使用メモリ 71,676 KB
実行使用メモリ 49,848 KB
最終ジャッジ日時 2023-09-07 18:36:10
合計ジャッジ時間 3,453 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
47,408 KB
testcase_01 AC 42 ms
49,508 KB
testcase_02 AC 41 ms
49,296 KB
testcase_03 AC 42 ms
49,268 KB
testcase_04 AC 41 ms
49,396 KB
testcase_05 AC 41 ms
49,500 KB
testcase_06 AC 41 ms
49,280 KB
testcase_07 AC 42 ms
49,324 KB
testcase_08 AC 42 ms
47,448 KB
testcase_09 AC 41 ms
49,228 KB
testcase_10 AC 42 ms
47,240 KB
testcase_11 AC 41 ms
49,300 KB
testcase_12 AC 42 ms
49,264 KB
testcase_13 AC 42 ms
49,848 KB
testcase_14 AC 41 ms
49,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner();
        int n = sc.nextInt();
        if (n >= 400 && n < 600) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}

class Scanner {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer st = new StringTokenizer("");
    
    public Scanner() throws Exception {
        
    }
    
    public int nextInt() throws Exception {
        return Integer.parseInt(next());
    }
    
    public long nextLong() throws Exception {
        return Long.parseLong(next());
    }
    
    public String next() throws Exception {
        if (!st.hasMoreTokens()) {
            st = new StringTokenizer(br.readLine());
        }
        return st.nextToken();
    }
}
0