結果

問題 No.1799 Summer Day
ユーザー AsahiAsahi
提出日時 2023-02-04 19:18:51
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 1,001 bytes
コンパイル時間 3,386 ms
コンパイル使用メモリ 73,548 KB
実行使用メモリ 56,176 KB
最終ジャッジ日時 2023-09-16 15:49:55
合計ジャッジ時間 7,275 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
53,636 KB
testcase_01 AC 126 ms
55,612 KB
testcase_02 AC 122 ms
55,572 KB
testcase_03 AC 123 ms
55,608 KB
testcase_04 AC 127 ms
55,700 KB
testcase_05 AC 124 ms
55,976 KB
testcase_06 AC 124 ms
55,808 KB
testcase_07 AC 123 ms
55,616 KB
testcase_08 AC 120 ms
55,772 KB
testcase_09 AC 122 ms
55,772 KB
testcase_10 AC 123 ms
55,508 KB
testcase_11 AC 125 ms
55,704 KB
testcase_12 AC 127 ms
55,704 KB
testcase_13 AC 125 ms
55,512 KB
testcase_14 WA -
testcase_15 AC 124 ms
55,564 KB
testcase_16 AC 122 ms
55,504 KB
testcase_17 AC 122 ms
55,384 KB
testcase_18 AC 126 ms
55,668 KB
testcase_19 AC 123 ms
55,736 KB
testcase_20 AC 123 ms
56,176 KB
testcase_21 AC 123 ms
55,832 KB
testcase_22 AC 125 ms
55,664 KB
testcase_23 AC 124 ms
55,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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 = 29;
        long max = n*29;
        if(min <= S && S <= max) output.print("Yes");
        else output.print("No");
        output.flush();
    }
}
0