結果

問題 No.3279 Dhole vs Monster
コンテスト
ユーザー anago-pie
提出日時 2026-01-25 22:42:47
言語 JavaScript
(node v25.6.0)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 280 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 201 ms
コンパイル使用メモリ 8,100 KB
実行使用メモリ 52,056 KB
最終ジャッジ日時 2026-01-25 22:42:52
合計ジャッジ時間 3,613 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

function Main(INPUT){
  const input=INPUT.split("\n");
  let [level, str]=input[0].split(" ");
  level=parseInt(level)-1;
  if(str=="Beat"){
    level++;
  }

  const list=[390,429,468,507,546];
  console.log(list[level]);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0