Submission #2865981


Source Code Expand

    #include <stdio.h>
     
    int main(void){
        int A,B,C;
        scanf("%d %d %d",&A,&B,&C);
     
        if(A + B >= C){
            printf("Yes\n");
        }else{
            printf("No\n");
        }
    }

Submission Info

Submission Time
Task A - Two Coins
User yattaze
Language C++14 (GCC 5.4.1)
Score 100
Code Size 232 Byte
Status AC
Exec Time 1 ms
Memory 128 KB

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:5:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d %d",&A,&B,&C);
                                   ^

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 10
Set Name Test Cases
Sample example_0, example_1, example_2, example_3
All example_0, example_1, example_2, example_3, rand_0, rand_1, rand_2, rand_3, rand_4, rand_5
Case Name Status Exec Time Memory
example_0 AC 1 ms 128 KB
example_1 AC 1 ms 128 KB
example_2 AC 1 ms 128 KB
example_3 AC 1 ms 128 KB
rand_0 AC 1 ms 128 KB
rand_1 AC 1 ms 128 KB
rand_2 AC 0 ms 128 KB
rand_3 AC 1 ms 128 KB
rand_4 AC 1 ms 128 KB
rand_5 AC 0 ms 128 KB