結果
| 問題 | No.1799 Summer Day |
| コンテスト | |
| ユーザー |
ks2m
|
| 提出日時 | 2022-01-07 21:22:39 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 2,000 ms |
| コード長 | 328 bytes |
| 記録 | |
| コンパイル時間 | 2,274 ms |
| コンパイル使用メモリ | 85,960 KB |
| 実行使用メモリ | 46,480 KB |
| 最終ジャッジ日時 | 2026-05-09 21:20:07 |
| 合計ジャッジ時間 | 5,040 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
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");
}
}
}
ks2m