結果
| 問題 |
No.3064 Speedrun (Easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-03 15:22:54 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 348 bytes |
| コンパイル時間 | 1,519 ms |
| コンパイル使用メモリ | 194,936 KB |
| 実行使用メモリ | 7,328 KB |
| 最終ジャッジ日時 | 2025-04-03 15:22:57 |
| 合計ジャッジ時間 | 2,194 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
import std;
import core.bitop;
import core.checkedint;
import core.time;
void main() {
int a, b, c, d, p, q, r, s, t;
readf("%d %d %d %d\n", a, b, c, d);
readf("%d %d %d %d %d\n", p, q, r, s, t);
writeln(yes(a * p + b * q + c * r + d * s <= t));
}
pragma(inline)
string yes(const bool b) pure @nogc nothrow @safe {
return b ? "Yes" : "No";
}