結果
問題 | No.1799 Summer Day |
ユーザー | Asahi |
提出日時 | 2023-02-04 19:14:13 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,002 bytes |
コンパイル時間 | 2,703 ms |
コンパイル使用メモリ | 72,552 KB |
実行使用メモリ | 57,488 KB |
最終ジャッジ日時 | 2023-09-16 15:44:42 |
合計ジャッジ時間 | 6,727 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 124 ms
55,512 KB |
testcase_01 | AC | 124 ms
55,592 KB |
testcase_02 | AC | 126 ms
55,516 KB |
testcase_03 | AC | 126 ms
55,648 KB |
testcase_04 | AC | 123 ms
55,532 KB |
testcase_05 | AC | 123 ms
56,108 KB |
testcase_06 | AC | 125 ms
56,008 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | AC | 124 ms
55,844 KB |
testcase_16 | WA | - |
testcase_17 | AC | 122 ms
55,572 KB |
testcase_18 | WA | - |
testcase_19 | AC | 123 ms
55,804 KB |
testcase_20 | AC | 123 ms
55,836 KB |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
ソースコード
import java.util.*; import java.io.*; import java.math.*; import java.util.stream.Stream; public class Main{ /* 入出力 */ static BufferedReader buff = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer st; static PrintWriter output = new PrintWriter(System.out); static Scanner sc = new Scanner(System.in); /* 定数 */ static final int [] y4 = {0,1,0,-1}; static final int [] x4 = {1,0,-1,0}; static final int INF1 = Integer.MAX_VALUE; static final long INF2 = Long.MAX_VALUE; static final long MOD1 = (long)1e9+7; static final long MOD2 = 998244353; /* Main */ public static void main(String[] args) throws IOException{ /* * 下限<=ans && ans<=上限 */ long n = sc.nextLong(); long S = sc.nextLong(); long min = 25*n; long max = 30*n; if(min <= S && S < max) output.print("Yes"); else output.print("No"); output.flush(); } }