結果

問題 No.2789 hako111223’s Master Thesis
ユーザー rlangevinrlangevin
提出日時 2024-06-21 21:21:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 53,428 KB
最終ジャッジ日時 2024-06-21 21:21:52
合計ジャッジ時間 1,576 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,004 KB
testcase_01 AC 33 ms
52,556 KB
testcase_02 AC 35 ms
53,428 KB
testcase_03 AC 37 ms
52,476 KB
testcase_04 AC 38 ms
52,236 KB
testcase_05 AC 36 ms
52,364 KB
testcase_06 AC 36 ms
52,268 KB
testcase_07 AC 37 ms
51,952 KB
testcase_08 AC 37 ms
52,504 KB
testcase_09 AC 36 ms
52,448 KB
testcase_10 AC 34 ms
52,744 KB
testcase_11 AC 34 ms
52,492 KB
testcase_12 AC 35 ms
52,368 KB
testcase_13 AC 36 ms
52,068 KB
testcase_14 AC 35 ms
53,164 KB
testcase_15 AC 36 ms
53,180 KB
testcase_16 AC 34 ms
51,900 KB
testcase_17 AC 34 ms
52,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B, C, D = map(int, input().split())
d = B + (31 - A)
if d >= C:
    print(1)
elif d >= D:
    print(2)
else:
    print(3)
0