Submission #3260574
Source Code Expand
#include<stdio.h> int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if((b-a)==(c-b)) printf("YES\n"); else printf("NO\n"); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - ι⊥l |
User | vjudge3 |
Language | C (GCC 5.4.1) |
Score | 100 |
Code Size | 144 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:4:2: 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 | 0_000.txt, 0_001.txt, 0_002.txt |
All | 0_000.txt, 0_001.txt, 0_002.txt, A.txt, fever0.txt, fever7.txt, kure.txt, ma.txt, max.txt, nhk.txt, v.txt, xam.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 0 ms | 128 KB |
0_001.txt | AC | 0 ms | 128 KB |
0_002.txt | AC | 0 ms | 128 KB |
A.txt | AC | 1 ms | 128 KB |
fever0.txt | AC | 1 ms | 128 KB |
fever7.txt | AC | 1 ms | 128 KB |
kure.txt | AC | 1 ms | 128 KB |
ma.txt | AC | 0 ms | 128 KB |
max.txt | AC | 0 ms | 128 KB |
nhk.txt | AC | 1 ms | 128 KB |
v.txt | AC | 0 ms | 128 KB |
xam.txt | AC | 1 ms | 128 KB |