121332024-12-03 13:27:13TortelliniJrSzózatcpp17Wrong answer 0/1001ms572 KiB
#include <fstream>
#include <iostream>
#include <vector>

using namespace std;

int main() {
    long V, A, B, F, C, D;
    cin >> V >> A >> B;
    cin >> F >> C >> D;

    if (V == (C + D)/2 && F == (A+B)/2 && B-A == D-C)
    {
        cout << "IGEN" << endl;
    }
    else
    {
        cout << "NEM" << endl;
    }
    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer1ms320 KiB
2Wrong answer1ms320 KiB
subtask20/10
3Wrong answer1ms320 KiB
4Wrong answer1ms320 KiB
5Wrong answer1ms508 KiB
subtask30/20
6Wrong answer1ms320 KiB
7Wrong answer1ms320 KiB
8Wrong answer1ms412 KiB
9Wrong answer1ms320 KiB
10Wrong answer1ms572 KiB
11Wrong answer1ms320 KiB
subtask40/30
12Wrong answer1ms320 KiB
13Wrong answer1ms320 KiB
14Wrong answer1ms320 KiB
15Wrong answer1ms568 KiB
16Wrong answer1ms320 KiB
17Wrong answer1ms320 KiB
subtask50/40
18Wrong answer1ms408 KiB
19Wrong answer1ms380 KiB
20Wrong answer1ms508 KiB
21Wrong answer1ms320 KiB
22Wrong answer1ms320 KiB
23Wrong answer1ms404 KiB
24Wrong answer1ms556 KiB