Submission #2865335


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 0
Code Size 184 Byte
Status WA
Exec Time 1 ms
Memory 128 KB

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:5:33: 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 0 / 100
Status
AC × 2
WA × 2
AC × 6
WA × 4
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 WA 1 ms 128 KB
example_2 WA 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 WA 1 ms 128 KB
rand_3 AC 1 ms 128 KB
rand_4 AC 1 ms 128 KB
rand_5 WA 1 ms 128 KB