Submission #76708315
Source Code Expand
#include <stdio.h>
int main(void) {
int a,b,c,d;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
scanf("%d",&d);
int yes = 1;
if(a > c) {
yes = 1;
}else if(a == c) {
if(b > d) yes = 1;
else yes = 0;
}else{
yes = 0;
}
if(yes) printf("Yes\n");
else printf("No\n");
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Not Acceptable |
| User | hide0323 |
| Language | C23 (GCC 14.2.0) |
| Score | 100 |
| Code Size | 349 Byte |
| Status | AC |
| Exec Time | 0 ms |
| Memory | 1624 KiB |
Compile Error
Main.c: In function ‘main’:
Main.c:5:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d",&a);
| ^~~~~~~~~~~~~~
Main.c:6:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%d",&b);
| ^~~~~~~~~~~~~~
Main.c:7:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | scanf("%d",&c);
| ^~~~~~~~~~~~~~
Main.c:8:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
8 | scanf("%d",&d);
| ^~~~~~~~~~~~~~
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt, example_02.txt |
| All | example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 0 ms | 1620 KiB |
| example_01.txt | AC | 0 ms | 1604 KiB |
| example_02.txt | AC | 0 ms | 1548 KiB |
| hand_00.txt | AC | 0 ms | 1548 KiB |
| hand_01.txt | AC | 0 ms | 1532 KiB |
| hand_02.txt | AC | 0 ms | 1616 KiB |
| hand_03.txt | AC | 0 ms | 1616 KiB |
| hand_04.txt | AC | 0 ms | 1624 KiB |
| hand_05.txt | AC | 0 ms | 1624 KiB |
| random_00.txt | AC | 0 ms | 1552 KiB |
| random_01.txt | AC | 0 ms | 1540 KiB |
| random_02.txt | AC | 0 ms | 1556 KiB |
| random_03.txt | AC | 0 ms | 1620 KiB |
| random_04.txt | AC | 0 ms | 1612 KiB |
| random_05.txt | AC | 0 ms | 1516 KiB |
| random_06.txt | AC | 0 ms | 1520 KiB |
| random_07.txt | AC | 0 ms | 1540 KiB |
| random_08.txt | AC | 0 ms | 1620 KiB |
| random_09.txt | AC | 0 ms | 1588 KiB |
| random_10.txt | AC | 0 ms | 1540 KiB |
| random_11.txt | AC | 0 ms | 1620 KiB |
| random_12.txt | AC | 0 ms | 1604 KiB |
| random_13.txt | AC | 0 ms | 1624 KiB |
| random_14.txt | AC | 0 ms | 1596 KiB |