結果

問題 No.773 コンテスト
ユーザー YukimotoPG
提出日時 2019-02-12 19:09:09
言語 Java
(openjdk 23)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 310 bytes
コンパイル時間 2,116 ms
コンパイル使用メモリ 74,408 KB
実行使用メモリ 54,296 KB
最終ジャッジ日時 2024-09-13 09:45:40
合計ジャッジ時間 6,231 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

//

import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		int a = sc.nextInt(); int b = sc.nextInt();
		int ans = 3;
		if (a<=23 && 23<=b) ans--;
		if (a<=24 && 24<=b) ans--;
		if (a<=25 && 25<=b) ans--;
		System.out.println(ans);
		
	}
}
0