結果

問題 No.2789 hako111223’s Master Thesis
ユーザー loop0919loop0919
提出日時 2024-06-21 21:23:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,372 KB
実行使用メモリ 53,372 KB
最終ジャッジ日時 2024-06-21 21:23:05
合計ジャッジ時間 1,400 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
51,996 KB
testcase_01 AC 33 ms
51,920 KB
testcase_02 AC 32 ms
52,300 KB
testcase_03 AC 32 ms
52,940 KB
testcase_04 AC 32 ms
52,884 KB
testcase_05 AC 32 ms
52,476 KB
testcase_06 AC 32 ms
53,372 KB
testcase_07 AC 33 ms
52,116 KB
testcase_08 AC 33 ms
51,812 KB
testcase_09 AC 33 ms
52,016 KB
testcase_10 AC 34 ms
52,512 KB
testcase_11 AC 33 ms
52,192 KB
testcase_12 AC 35 ms
53,036 KB
testcase_13 AC 33 ms
52,280 KB
testcase_14 AC 33 ms
52,828 KB
testcase_15 AC 33 ms
51,836 KB
testcase_16 AC 34 ms
52,072 KB
testcase_17 AC 36 ms
52,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B, C, D = map(int, input().split())

if 31 - A + B >= C:
    print(1)
elif 31 - A + B >= D:
    print(2)
else:
    print(3)
0