結果
問題 |
No.3064 Speedrun (Easy)
|
ユーザー |
|
提出日時 | 2025-03-21 22:43:03 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 385 bytes |
コンパイル時間 | 2,162 ms |
コンパイル使用メモリ | 193,760 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-21 22:43:06 |
合計ジャッジ時間 | 2,986 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll=long long; #include<atcoder/modint> using namespace atcoder; using mint=modint998244353; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); ll A[4],P[4]; for(int i=0;i<4;i++)cin>>A[i]; for(int i=0;i<4;i++)cin>>P[i]; ll T; cin>>T; ll S=0; for(int i=0;i<4;i++)S+=A[i]*P[i]; cout<<(S<=T?"Yes":"No")<<endl; }