122482024-12-10 14:58:42CsongiCsokiosztás 2cpp17Wrong answer 0/1001ms548 KiB
#include <bits/stdc++.h>
#define ll long long
using namespace std;

int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);

    int m,n,k; cin >> m >> n >> k;
    cout << (m+n % k == 0 ? "IGEN" : "NEM") << endl;

    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer1ms320 KiB
2Accepted1ms320 KiB
subtask20/30
3Wrong answer1ms320 KiB
4Accepted1ms320 KiB
5Wrong answer1ms320 KiB
6Accepted1ms320 KiB
7Wrong answer1ms320 KiB
8Accepted1ms320 KiB
9Wrong answer1ms500 KiB
10Accepted1ms548 KiB
11Wrong answer1ms320 KiB
12Accepted1ms320 KiB
13Wrong answer1ms320 KiB
14Wrong answer1ms320 KiB
subtask30/70
15Wrong answer1ms320 KiB
16Accepted1ms320 KiB
17Wrong answer1ms320 KiB
18Accepted1ms320 KiB
19Wrong answer1ms320 KiB
20Accepted1ms320 KiB
21Wrong answer1ms320 KiB
22Accepted1ms320 KiB
23Wrong answer1ms320 KiB
24Accepted1ms320 KiB
25Wrong answer1ms320 KiB
26Wrong answer1ms508 KiB