Submission #3240270
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"); } return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Two Coins |
User | sola_power |
Language | C (GCC 5.4.1) |
Score | 100 |
Code Size | 193 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:5:5: warning: ignoring return value of ‘scanf’, 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 |
|
|
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 | 0 ms | 128 KB |
example_1 | AC | 1 ms | 128 KB |
example_2 | AC | 0 ms | 128 KB |
example_3 | AC | 0 ms | 128 KB |
rand_0 | AC | 0 ms | 128 KB |
rand_1 | AC | 0 ms | 128 KB |
rand_2 | AC | 1 ms | 128 KB |
rand_3 | AC | 1 ms | 128 KB |
rand_4 | AC | 0 ms | 128 KB |
rand_5 | AC | 0 ms | 128 KB |