Răspuns :
Răspuns:
#include <iostream>
using namespace std;
int main()
{
int p,n,j;
cin>>n>>p;
j=p/2;
if(n>=j)
cout<<"buni";
else cout<<"slabi";
return 0;
}
Explicație:
#include <iostream>
using namespace std;
int main()
{
unsigned elevi,a;
cin >> elevi >> a;
if(a<=elevi/2)
cout << "buni";
if(a>=elevi/2)
cout << "slabi";
}