結果

問題 No.2842 Birthday
ユーザー solo
提出日時 2025-01-28 15:31:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 222 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-01-28 15:31:53
合計ジャッジ時間 1,411 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    age_counter()

def age_counter():
    x = input()
    x = x.split()
    m = int(x[0])
    d = int(x[-1])
    if m >= 8 and d >= 22:
        print('24')
    else:
        print('23')
    
if __name__ == '__main__':
    main()
0