Submission #1207366


Source Code Expand

Copy
a,b,c=gets.split.map &:to_i
puts b-a==c-b ? :YES : :NO

Submission Info

Submission Time
Task A - ι⊥l
User leafmoon
Language C++14 (GCC 5.4.1)
Score 0
Code Size 55 Byte
Status

Compile Error

./Main.cpp:1:1: error: ‘a’ does not name a type
 a,b,c=gets.split.map &:to_i
 ^