Orientuje się ktoś może co z tym kodem jest nie tak?
#include
using namespace std;
int main()
{
int a, b;
int i = 0;
int ile = 0;
cin >> ile;
for (i; i < ile; i++) {
cin >> a >> b;
int c = a % (b+1);
if (c == 0) cout << “NIE”<< endl;
else cout << “TAK” << endl;
}
return 0;
}
created
last reply
- 1
reply
- 410
views
- 2
users
- 2
likes
- 1
link