結果
| 問題 |
No.3279 Dhole vs Monster
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-26 21:25:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 2,000 ms |
| コード長 | 654 bytes |
| コンパイル時間 | 348 ms |
| コンパイル使用メモリ | 82,244 KB |
| 実行使用メモリ | 54,044 KB |
| 最終ジャッジ日時 | 2025-09-26 21:25:12 |
| 合計ジャッジ時間 | 1,855 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
MOD = 998244353
def II(): return int(input())
def LI(): return list(input())
def LMI(): return list(map(int, input().split()))
def LMS(): return list(map(str, input().split()))
def LLMI(x): return [list(map(int, input().split())) for _ in range(x)]
def LLMS(x): return [list(input()) for _ in range(x)]
def execute():
l, s = input().split()
l = int(l)
if s == 'Beat':
l += 1
if l == 1:
print(390)
elif l == 2:
print(429)
elif l == 3:
print(468)
elif l == 4:
print(507)
elif l == 5:
print(546)
if __name__ == "__main__":
T = 1
for _ in range(T):
execute()