Submission #19955081


Source Code Expand

#include<bits/stdc++.h>
#include<atcoder/all>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
#define ALL(x) (x).begin(), (x).end()
#define REP(i ,n) for(int i = 0; i < (int)(n); i++)
#define pb push_back
#define mp make_pair
typedef vector<int>vint;
typedef vector<ll>vll;
template<typename T> istream &operator>>(istream &is, vector<T> &vec){ for (auto &v : vec) is >> v; return is; }
template<typename A,typename B>inline bool chmin(A &a,const B &b){if(a>b){a=b;return true;}else{return false;}}
template<typename A,typename B>inline bool chmax(A &a,const B &b){if(a<b){a=b;return true;}else{return false;}}

int main(){
    int V,T,S,D;
    cin >> V >> T >> S >> D;
    int dt = V*T;
    int ds = V*S;
    if(D < dt || D > ds){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
}

Submission Info

Submission Time
Task A - Vanishing Pitch
User kiuyuki
Language C++ (GCC 9.2.1)
Score 100
Code Size 866 Byte
Status AC
Exec Time 10 ms
Memory 3672 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 25
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All handmade_00.txt, handmade_01.txt, handmade_02.txt, handmade_03.txt, handmade_04.txt, marginal_00.txt, marginal_01.txt, marginal_02.txt, marginal_03.txt, random2_00.txt, random2_01.txt, random2_02.txt, random2_03.txt, random2_04.txt, random2_05.txt, random2_06.txt, random2_07.txt, random2_08.txt, random2_09.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
handmade_00.txt AC 10 ms 3520 KiB
handmade_01.txt AC 2 ms 3524 KiB
handmade_02.txt AC 3 ms 3576 KiB
handmade_03.txt AC 2 ms 3452 KiB
handmade_04.txt AC 2 ms 3672 KiB
marginal_00.txt AC 3 ms 3520 KiB
marginal_01.txt AC 3 ms 3652 KiB
marginal_02.txt AC 2 ms 3576 KiB
marginal_03.txt AC 2 ms 3584 KiB
random2_00.txt AC 2 ms 3660 KiB
random2_01.txt AC 2 ms 3500 KiB
random2_02.txt AC 2 ms 3504 KiB
random2_03.txt AC 2 ms 3448 KiB
random2_04.txt AC 2 ms 3576 KiB
random2_05.txt AC 2 ms 3604 KiB
random2_06.txt AC 3 ms 3624 KiB
random2_07.txt AC 2 ms 3660 KiB
random2_08.txt AC 3 ms 3548 KiB
random2_09.txt AC 2 ms 3524 KiB
random_00.txt AC 2 ms 3452 KiB
random_01.txt AC 3 ms 3624 KiB
random_02.txt AC 2 ms 3464 KiB
random_03.txt AC 2 ms 3656 KiB
sample_01.txt AC 2 ms 3448 KiB
sample_02.txt AC 3 ms 3656 KiB