I complied the program in hackerblocks and it got successfully sumbitted

but here its not getting sumbitted and gives me a error
18 Arithmetic exception (core dumped) ./exe at line 4
i dont understand

hello @yaswanth0412
the issue might be with the server. try again after some time

but it still shows the same error

pls share hackerblocks problem link .
and ur code link.

https://hack.codingblocks.com/app/practice/3/201/problem

#include using namespace std; int main(){ int n1,n2,c=1; cin>>n1; cin>>n2; for(int i=1;i<=100;i++){ if(c<=10){ if(((3i)+2)%n2==0){ continue; } else cout<<((3i)+2)<<endl; c++; } else break; } return 0; }

that is my code which was compiled in hackerblocks successfully

pls save ur code here-> https://ide.codingblocks.com/
and then share the link

@yaswanth0412
bro ur code is not generalised.
check this -> https://ide.codingblocks.com/s/238926