Witam, mam problem z tym kodem. Mianowicie sędzia go nie akceptuje. Czy moglibyście mi proszę wskazac błąd?
#include <iostream>
using namespace std;
int test,liczba;
int main()
{
cin>>test;
for(int n=1; n<=test; n++)
{
cin>>liczba;
for(int m=2; m<=liczba; m++)
{
if(liczba%m==0)
{
if (liczba==m) cout<<"TAK"<<endl;
else cout<<"NIE"<<endl;
break;
}
}
}
return 0;
}