28752023-02-01 13:17:38KristófOszthatóság 17-tel (60 pont)cpp11Wrong answer 0/603ms3556 KiB
#include <iostream>

using namespace std;

int main()
{
     int n;
     int kiv=n;
     cin>>n;
     if(n%17==0)
        cout<<"IGEN"<<endl;
     else
        cout<<"NEM"<<endl;
        kiv=(kiv/10)-(n%10*5);
        if(kiv<0)
            cout<<0;
        return 0;

        while(n>0){
            n=(n/10)-(n%10*5);
        if(n>0)
            cout<<n<<" ";
            else
                return 0;
        }
}

SubtaskSumTestVerdictTimeMemory
base0/60
1Wrong answer0/03ms1872 KiB
2Wrong answer0/03ms2124 KiB
3Wrong answer0/33ms2340 KiB
4Wrong answer0/33ms2580 KiB
5Wrong answer0/43ms2792 KiB
6Wrong answer0/43ms3028 KiB
7Wrong answer0/42ms3080 KiB
8Wrong answer0/53ms3084 KiB
9Wrong answer0/53ms3216 KiB
10Wrong answer0/53ms3420 KiB
11Wrong answer0/52ms3488 KiB
12Wrong answer0/63ms3480 KiB
13Wrong answer0/62ms3552 KiB
14Wrong answer0/62ms3552 KiB
15Wrong answer0/22ms3556 KiB
16Wrong answer0/22ms3556 KiB