結果

問題 No.3279 Dhole vs Monster
コンテスト
ユーザー cologne
提出日時 2025-11-14 14:43:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 53,632 KB
最終ジャッジ日時 2025-11-14 14:43:06
合計ジャッジ時間 2,242 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def input(): return sys.stdin.readline().rstrip('\n')


def main():
    l, s = input().split()

    print([390, 429, 468, 507, 546][int(l) + (-1 if s != 'Beat' else 0)])


if __name__ == '__main__':
    main()
0