結果

問題 No.1799 Summer Day
ユーザー horitaka1999horitaka1999
提出日時 2022-01-12 22:14:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 166 bytes
コンパイル時間 826 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 71,756 KB
最終ジャッジ日時 2023-08-09 17:53:20
合計ジャッジ時間 3,988 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,312 KB
testcase_01 AC 72 ms
71,168 KB
testcase_02 AC 70 ms
71,240 KB
testcase_03 AC 73 ms
71,244 KB
testcase_04 AC 71 ms
71,340 KB
testcase_05 AC 73 ms
71,356 KB
testcase_06 AC 72 ms
71,352 KB
testcase_07 WA -
testcase_08 AC 71 ms
71,392 KB
testcase_09 AC 71 ms
71,328 KB
testcase_10 AC 70 ms
71,356 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 72 ms
71,316 KB
testcase_14 WA -
testcase_15 AC 74 ms
71,340 KB
testcase_16 AC 74 ms
71,332 KB
testcase_17 AC 74 ms
71,520 KB
testcase_18 AC 74 ms
71,068 KB
testcase_19 AC 71 ms
71,220 KB
testcase_20 AC 72 ms
71,208 KB
testcase_21 AC 72 ms
71,224 KB
testcase_22 AC 70 ms
71,312 KB
testcase_23 AC 70 ms
71,132 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