Submission #2101097


Source Code Expand

Copy
a,b,c=map(int,input().split())
if((b-a)==(c-b)):
  print("YES")
else:
  print("NO")

Submission Info

Submission Time
Task A - ι⊥l
User shomu36
Language Python3 (3.4.3)
Score 100
Code Size 87 Byte
Status
Exec Time 17 ms
Memory 2940 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_000.txt, 0_001.txt, 0_002.txt
All 100 / 100 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 16 ms 2940 KB
0_001.txt 17 ms 2940 KB
0_002.txt 17 ms 2940 KB
A.txt 17 ms 2940 KB
fever0.txt 17 ms 2940 KB
fever7.txt 17 ms 2940 KB
kure.txt 17 ms 2940 KB
ma.txt 17 ms 2940 KB
max.txt 17 ms 2940 KB
nhk.txt 17 ms 2940 KB
v.txt 17 ms 2940 KB
xam.txt 17 ms 2940 KB