結果
問題 | No.3064 Speedrun (Easy) |
ユーザー |
![]() |
提出日時 | 2025-03-21 21:22:18 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 284 bytes |
コンパイル時間 | 770 ms |
コンパイル使用メモリ | 83,708 KB |
実行使用メモリ | 5,888 KB |
最終ジャッジ日時 | 2025-03-21 21:22:22 |
合計ジャッジ時間 | 1,407 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include<iostream> #include<vector> using namespace std; int main() { int A[4]; int B[4]; int T; for(int i=0;i<4;++i)cin>>A[i]; for(int i=0;i<4;++i)cin>>B[i]; cin>>T; int tot = 0; for(int i=0;i<4;++i)tot+=A[i] * B[i]; if(tot<=T)cout<<"Yes"<< endl; else cout<<"No"<< endl; }