28742023-02-01 13:14:34KristófOszthatóság 17-tel (60 pont)cpp11Wrong answer 51/603ms3808 KiB
#include <iostream>

using namespace std;

int main()
{
     int n;
     cin>>n;
     if(n%17==0)
        cout<<"IGEN"<<endl;
     else
        cout<<"NEM"<<endl;
        while(n>0){
            n=(n/10)-(n%10*5);
        if(n>0)
            cout<<n<<" ";
            else
                return 0;
        }
}
SubtaskSumTestVerdictTimeMemory
base51/60
1Accepted0/03ms1752 KiB
2Accepted0/03ms1908 KiB
3Accepted3/32ms2120 KiB
4Accepted3/33ms2336 KiB
5Accepted4/43ms2548 KiB
6Accepted4/42ms2632 KiB
7Accepted4/43ms2756 KiB
8Accepted5/53ms2972 KiB
9Wrong answer0/53ms3184 KiB
10Accepted5/52ms3264 KiB
11Accepted5/53ms3396 KiB
12Accepted6/63ms3512 KiB
13Accepted6/63ms3636 KiB
14Accepted6/62ms3728 KiB
15Wrong answer0/23ms3808 KiB
16Wrong answer0/22ms3808 KiB