11983 | 2024-11-22 15:32:44 | Xetoxino | Csokiosztás 2 | python3 | Accepted 100/100 | 17ms | 3304 KiB |
M,N,K = [int(i) for i in input().split()]
if (M + N) % K == 0:
print('IGEN')
else:
print('NEM')
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 3060 KiB | ||||
2 | Accepted | 16ms | 2872 KiB | ||||
subtask2 | 30/30 | ||||||
3 | Accepted | 14ms | 2872 KiB | ||||
4 | Accepted | 16ms | 3068 KiB | ||||
5 | Accepted | 14ms | 2896 KiB | ||||
6 | Accepted | 16ms | 2868 KiB | ||||
7 | Accepted | 16ms | 2884 KiB | ||||
8 | Accepted | 16ms | 3064 KiB | ||||
9 | Accepted | 14ms | 2988 KiB | ||||
10 | Accepted | 14ms | 3064 KiB | ||||
11 | Accepted | 14ms | 2872 KiB | ||||
12 | Accepted | 16ms | 2852 KiB | ||||
13 | Accepted | 16ms | 2896 KiB | ||||
14 | Accepted | 16ms | 3064 KiB | ||||
subtask3 | 70/70 | ||||||
15 | Accepted | 16ms | 3060 KiB | ||||
16 | Accepted | 16ms | 3072 KiB | ||||
17 | Accepted | 16ms | 2872 KiB | ||||
18 | Accepted | 16ms | 3304 KiB | ||||
19 | Accepted | 16ms | 3064 KiB | ||||
20 | Accepted | 17ms | 2880 KiB | ||||
21 | Accepted | 16ms | 2864 KiB | ||||
22 | Accepted | 16ms | 2868 KiB | ||||
23 | Accepted | 16ms | 2876 KiB | ||||
24 | Accepted | 16ms | 2984 KiB | ||||
25 | Accepted | 14ms | 3056 KiB | ||||
26 | Accepted | 14ms | 2840 KiB |