Submission #16305153


Source Code Expand

// dfmt off
T lread(T=long)(){return readln.chomp.to!T;}T[] lreads(T=long)(long n){return iota(n).map!((_)=>lread!T).array;}
T[] aryread(T=long)(){return readln.split.to!(T[]);}void arywrite(T)(T a){a.map!text.join(' ').writeln;}
void scan(L...)(ref L A){auto l=readln.split;foreach(i,T;L){A[i]=l[i].to!T;}}alias sread=()=>readln.chomp();
void dprint(L...)(lazy L A){debug{auto l=new string[](L.length);static foreach(i,a;A)l[i]=a.text;arywrite(l);}}
alias PQueue(T,alias l="b<a")=BinaryHeap!(Array!T,l);import std, core.bitop;
// dfmt on
immutable string YES = "Yes";
immutable string NO = "No";
void main()
{
    auto input = stdin.byLine.map!split.joiner;

    long D;
    D = input.front.to!long;
    input.popFront;

    long T;
    T = input.front.to!long;
    input.popFront;

    long S;
    S = input.front.to!long;
    input.popFront;

    solve(D, T, S);
}

void solve(long D, long T, long S)
{
    writeln(D <= T * S ? YES : NO);
}

Submission Info

Submission Time
Task A - Don't be late
User kotet
Language D (DMD 2.091.0)
Score 100
Code Size 944 Byte
Status AC
Exec Time 10 ms
Memory 3756 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 16
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, min_01.txt, min_02.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
hand_01.txt AC 10 ms 3592 KiB
hand_02.txt AC 2 ms 3696 KiB
hand_03.txt AC 2 ms 3700 KiB
hand_04.txt AC 2 ms 3588 KiB
hand_05.txt AC 3 ms 3584 KiB
min_01.txt AC 2 ms 3492 KiB
min_02.txt AC 2 ms 3516 KiB
random_01.txt AC 2 ms 3424 KiB
random_02.txt AC 3 ms 3588 KiB
random_03.txt AC 2 ms 3756 KiB
random_04.txt AC 2 ms 3584 KiB
random_05.txt AC 2 ms 3600 KiB
random_06.txt AC 3 ms 3524 KiB
sample_01.txt AC 2 ms 3472 KiB
sample_02.txt AC 2 ms 3500 KiB
sample_03.txt AC 3 ms 3532 KiB