結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
53,184 KB
testcase_01 AC 34 ms
51,632 KB
testcase_02 AC 33 ms
52,928 KB
testcase_03 AC 32 ms
52,700 KB
testcase_04 AC 32 ms
52,960 KB
testcase_05 AC 32 ms
52,304 KB
testcase_06 AC 33 ms
52,532 KB
testcase_07 AC 32 ms
52,084 KB
testcase_08 AC 33 ms
52,080 KB
testcase_09 AC 34 ms
52,196 KB
testcase_10 AC 32 ms
52,036 KB
testcase_11 AC 32 ms
52,560 KB
testcase_12 AC 33 ms
52,520 KB
testcase_13 AC 33 ms
53,056 KB
testcase_14 AC 34 ms
52,904 KB
testcase_15 AC 32 ms
52,140 KB
testcase_16 AC 33 ms
52,260 KB
testcase_17 AC 34 ms
52,628 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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