Submission #1207393


Source Code Expand

Copy
using System;
using System.Collections.Generic;
public class Aprob {
    public static void Main() {
        string[] readSome = new string[3];
        readSome = Console.ReadLine().Split(' ');
        int[] N = new int[3];
        for (int i = 0; i < 3; i++) {
            N[i] = int.Parse(readSome[i]);
        }
        string outp = "NO";
        if (N[1] - N[0] == N[2] - N[1]) {
            outp = "YES";
        }
        Console.WriteLine(outp);
    }
}

Submission Info

Submission Time
Task A - ι⊥l
User shomu36
Language C# (Mono 4.6.2.0)
Score 100
Code Size 477 Byte
Status
Exec Time 20 ms
Memory 11092 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 20 ms 9044 KB
0_001.txt 19 ms 11092 KB
0_002.txt 19 ms 9044 KB
A.txt 19 ms 11092 KB
fever0.txt 19 ms 9044 KB
fever7.txt 19 ms 9044 KB
kure.txt 19 ms 9044 KB
ma.txt 19 ms 11092 KB
max.txt 19 ms 11092 KB
nhk.txt 19 ms 11092 KB
v.txt 19 ms 9044 KB
xam.txt 19 ms 11092 KB