結果

問題 No.3259 C++ → Rust → Python
ユーザー Maeda
提出日時 2025-09-09 16:38:22
言語 Java
(openjdk 23)
結果
AC  
実行時間 146 ms / 2,000 ms
コード長 362 bytes
コンパイル時間 2,482 ms
コンパイル使用メモリ 75,500 KB
実行使用メモリ 41,684 KB
最終ジャッジ日時 2025-09-09 16:38:30
合計ジャッジ時間 7,293 ms
ジャッジサーバーID
(参考情報)
judge2 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int l = scan.nextInt();
        int r = scan.nextInt();
    	int count = 0;
    	if(l <= 295 && 296 <= r){
    		count++;
    	}
    	if(l <= 416 && 417 <= r ){
    		count++;
    	}
    	System.out.println(count);
    }
}
0