結果

問題 No.3064 Speedrun (Easy)
ユーザー snrnsidy
提出日時 2025-03-21 21:21:35
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 342 bytes
コンパイル時間 1,879 ms
コンパイル使用メモリ 191,832 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2025-03-21 21:21:41
合計ジャッジ時間 2,505 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);

    int a,b,c,d,p,q,r,s,t;

    cin >> a >> b >> c >> d;
    cin >> p >> q >> r >> s >> t;

    t-=(a*p);
    t-=(b*q);
    t-=(c*r);
    t-=(d*s);
    if(t < 0) cout << "No" << '\n';
    else cout << "Yes" << '\n';
    
	return 0;
}
0