結果
| 問題 |
No.2842 Birthday
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-23 21:01:26 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 45 ms / 2,000 ms |
| コード長 | 378 bytes |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 82,380 KB |
| 実行使用メモリ | 56,904 KB |
| 最終ジャッジ日時 | 2024-08-23 21:01:28 |
| 合計ジャッジ時間 | 1,644 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import sys, time, random
from collections import deque, Counter, defaultdict
def debug(*x):print('debug:',*x, file=sys.stderr)
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 61 - 1
mod = 998244353
m, d = mi()
if m >= 9 or (m == 8 and d >= 22):
print(24)
else:
print(23)