12133 | 2024-12-03 13:27:13 | TortelliniJr | Szózat | cpp17 | Wrong answer 0/100 | 1ms | 572 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;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 1ms | 320 KiB | ||||
2 | Wrong answer | 1ms | 320 KiB | ||||
subtask2 | 0/10 | ||||||
3 | Wrong answer | 1ms | 320 KiB | ||||
4 | Wrong answer | 1ms | 320 KiB | ||||
5 | Wrong answer | 1ms | 508 KiB | ||||
subtask3 | 0/20 | ||||||
6 | Wrong answer | 1ms | 320 KiB | ||||
7 | Wrong answer | 1ms | 320 KiB | ||||
8 | Wrong answer | 1ms | 412 KiB | ||||
9 | Wrong answer | 1ms | 320 KiB | ||||
10 | Wrong answer | 1ms | 572 KiB | ||||
11 | Wrong answer | 1ms | 320 KiB | ||||
subtask4 | 0/30 | ||||||
12 | Wrong answer | 1ms | 320 KiB | ||||
13 | Wrong answer | 1ms | 320 KiB | ||||
14 | Wrong answer | 1ms | 320 KiB | ||||
15 | Wrong answer | 1ms | 568 KiB | ||||
16 | Wrong answer | 1ms | 320 KiB | ||||
17 | Wrong answer | 1ms | 320 KiB | ||||
subtask5 | 0/40 | ||||||
18 | Wrong answer | 1ms | 408 KiB | ||||
19 | Wrong answer | 1ms | 380 KiB | ||||
20 | Wrong answer | 1ms | 508 KiB | ||||
21 | Wrong answer | 1ms | 320 KiB | ||||
22 | Wrong answer | 1ms | 320 KiB | ||||
23 | Wrong answer | 1ms | 404 KiB | ||||
24 | Wrong answer | 1ms | 556 KiB |