結果
| 問題 | No.3279 Dhole vs Monster | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2025-09-26 21:23:10 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 56 ms / 2,000 ms | 
| コード長 | 136 bytes | 
| コンパイル時間 | 316 ms | 
| コンパイル使用メモリ | 82,308 KB | 
| 実行使用メモリ | 53,704 KB | 
| 最終ジャッジ日時 | 2025-09-26 21:23:12 | 
| 合計ジャッジ時間 | 1,621 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 14 | 
ソースコード
power = [390, 429, 468, 507, 546]
L, S = input().split()
L = int(L)
if S == "Beat":
    print(power[L])
else:
    print(power[L - 1])
            
            
            
        