Submission #3779547


Source Code Expand

package main

import (
    "fmt"
)

func main() {
    var a, b, c int
    fmt.Scan(&a, &b, &c)

    if b-a == c-b {
        fmt.Println("YES")
    } else {
        fmt.Println("NO")
    }
}

Submission Info

Submission Time
Task A - ι⊥l
User keigow
Language Go (1.6)
Score 100
Code Size 204 Byte
Status AC
Exec Time 1 ms
Memory 512 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 12
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 1 ms 512 KB
0_001.txt AC 1 ms 512 KB
0_002.txt AC 1 ms 512 KB
A.txt AC 1 ms 512 KB
fever0.txt AC 1 ms 512 KB
fever7.txt AC 1 ms 512 KB
kure.txt AC 1 ms 512 KB
ma.txt AC 1 ms 512 KB
max.txt AC 1 ms 512 KB
nhk.txt AC 1 ms 512 KB
v.txt AC 1 ms 512 KB
xam.txt AC 1 ms 512 KB