結果

問題 No.2842 Birthday
ユーザー miya145592
提出日時 2024-08-23 21:14:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 233 ms
コンパイル使用メモリ 82,032 KB
実行使用メモリ 53,432 KB
最終ジャッジ日時 2024-08-23 21:14:17
合計ジャッジ時間 1,384 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
M, D = map(int, input().split())
if M<8:
    print(23)
elif M>8:
    print(24)
else:
    if D<22:
        print(23)
    else:
        print(24)
        
0