結果
| 問題 | No.3511 Skg |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-24 21:20:53 |
| 言語 | C++23(gnu拡張) (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 510 bytes |
| 記録 | |
| コンパイル時間 | 2,597 ms |
| コンパイル使用メモリ | 330,040 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-24 21:21:23 |
| 合計ジャッジ時間 | 4,024 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define si(a) (long)a.size()
#define fi first
#define se second
#define all(x) x.begin(),x.end()
#define rep(i,n) for(int i=0;i<(int)(n);++i)
template<typename S,typename F>bool chmin(S&a,F b){return b<a?(a=b,1):0;}
template<typename S,typename F>bool chmax(S&a,F b){return b>a?(a=b,1):0;}
bool _=(ios::sync_with_stdio(0),cin.tie(0),cout<<fixed<<setprecision(16),0);
int main(){
int A,B,C,D,S;
cin>>A>>B>>C>>D>>S;
cout<<(A*C+B*D<=S?"Yes\n":"No\n");
}