結果

問題 No.1799 Summer Day
ユーザー horitaka1999horitaka1999
提出日時 2022-01-12 22:14:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 166 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 81,976 KB
実行使用メモリ 53,756 KB
最終ジャッジ日時 2024-04-27 12:39:26
合計ジャッジ時間 2,046 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,272 KB
testcase_01 AC 39 ms
53,536 KB
testcase_02 AC 38 ms
52,468 KB
testcase_03 AC 38 ms
52,016 KB
testcase_04 AC 39 ms
52,256 KB
testcase_05 AC 39 ms
52,208 KB
testcase_06 AC 39 ms
53,492 KB
testcase_07 WA -
testcase_08 AC 41 ms
52,120 KB
testcase_09 AC 38 ms
52,372 KB
testcase_10 AC 38 ms
53,544 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 38 ms
51,960 KB
testcase_14 WA -
testcase_15 AC 39 ms
53,596 KB
testcase_16 AC 38 ms
52,492 KB
testcase_17 AC 39 ms
52,192 KB
testcase_18 AC 38 ms
52,772 KB
testcase_19 AC 39 ms
52,404 KB
testcase_20 AC 39 ms
52,148 KB
testcase_21 AC 40 ms
52,360 KB
testcase_22 AC 38 ms
53,492 KB
testcase_23 AC 38 ms
52,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,S = map(int,input().split())
x = (25*N-S + 24-1)//24
y = (29 * N -S)//5
if y >= 0 and x <= y and (0 <= x < N or 0 <= y < N):
    print('Yes')
else:
    print('No')
0