結果
問題 | No.3064 Speedrun (Easy) |
ユーザー |
![]() |
提出日時 | 2025-03-21 21:22:16 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 448 bytes |
コンパイル時間 | 5,947 ms |
コンパイル使用メモリ | 333,064 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-21 21:22:23 |
合計ジャッジ時間 | 5,914 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <atcoder/all> #include <bits/stdc++.h> #define rep(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++) using namespace atcoder; using namespace std; typedef long long ll; int main() { cin.tie(0); cout.tie(0); ios::sync_with_stdio(0); vector<int> a(4), b(4); rep(i, 0, 4) cin >> a[i]; rep(i, 0, 4) cin >> b[i]; int t; cin >> t; rep(i, 0, 4) t -= a[i] * b[i]; cout << (t >= 0 ? "Yes" : "No") << endl; }