include
using namespace std;
int ile;
int main()
{
cin >> ile;
int cukierki[ile];
int osoby[ile];
for(int i=0; i {
cin >> osoby[i];
cin >> cukierki[i];
}
for(int i=0; i {
if(cukierki[i]/(osoby[i]-1)*(osoby[i]-1) else cout << "NIE" << endl;
}
return 0;
}
Niewiem co jest nie tak, wyskakuje błąd wykonania.
created
last reply
- 71
replies
- 5.1k
views
- 28
users
- 3
likes
- 18
links
There are 71 replies with an estimated read time of 5 minutes.