結果

問題 No.1799 Summer Day
ユーザー ks2mks2m
提出日時 2022-01-07 21:22:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 328 bytes
コンパイル時間 2,124 ms
コンパイル使用メモリ 73,884 KB
実行使用メモリ 41,320 KB
最終ジャッジ日時 2024-04-26 18:24:26
合計ジャッジ時間 5,875 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
41,108 KB
testcase_01 AC 128 ms
41,196 KB
testcase_02 AC 116 ms
39,972 KB
testcase_03 AC 114 ms
40,052 KB
testcase_04 AC 117 ms
39,860 KB
testcase_05 AC 114 ms
39,828 KB
testcase_06 AC 126 ms
40,816 KB
testcase_07 AC 114 ms
39,832 KB
testcase_08 AC 128 ms
40,868 KB
testcase_09 AC 127 ms
41,148 KB
testcase_10 AC 118 ms
40,456 KB
testcase_11 AC 126 ms
41,144 KB
testcase_12 AC 121 ms
40,056 KB
testcase_13 AC 113 ms
40,116 KB
testcase_14 AC 125 ms
41,156 KB
testcase_15 AC 115 ms
40,172 KB
testcase_16 AC 125 ms
41,092 KB
testcase_17 AC 126 ms
41,088 KB
testcase_18 AC 126 ms
41,320 KB
testcase_19 AC 116 ms
40,256 KB
testcase_20 AC 113 ms
39,988 KB
testcase_21 AC 115 ms
40,072 KB
testcase_22 AC 126 ms
41,128 KB
testcase_23 AC 115 ms
40,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int s = sc.nextInt();
		sc.close();

		if (25 <= s && (s + n - 1) / n < 30) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}
0