結果
問題 |
No.3279 Dhole vs Monster
|
ユーザー |
|
提出日時 | 2025-09-26 21:22:34 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 391 bytes |
コンパイル時間 | 686 ms |
コンパイル使用メモリ | 85,020 KB |
実行使用メモリ | 7,720 KB |
最終ジャッジ日時 | 2025-09-26 21:22:38 |
合計ジャッジ時間 | 1,525 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
#include <iostream> #include <vector> using namespace std; using ll = long long; int main() { int l;string s; cin >> l >> s; if (s == "Beat") l++; if (l >= 6) { return 0; } if (l == 1) { cout << 390 << endl; } else if (l == 2) { cout << 429 << endl; } else if (l == 3) { cout << 468 << endl; } else if (l == 4) { cout << 507 << endl; } else { cout << 546 << endl; } }