結果
| 問題 |
No.3279 Dhole vs Monster
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-30 23:58:50 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 183 bytes |
| コンパイル時間 | 3,373 ms |
| コンパイル使用メモリ | 123,892 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-09-30 23:58:54 |
| 合計ジャッジ時間 | 2,416 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
import std.stdio: readf, writeln;
const a = [390, 429, 468, 507, 546];
void main() {
int l;
string s;
readf("%d %s\n", l, s);
writeln(s == "Beat" ? a[l] : a[l - 1]);
}