#include
using namespace std;
int main() {
float x=1.0;
int people=0;
float num=365;
float denom=365;
float p;
cin>>p;
if(p==1.0){
cout<<“366”<<endl;
}
while(x>1-p){
x=x*(num/denom);
num–;
people++;
}
cout<<people<<endl;
return 0;
}
Im failing with one testcase please help me with that. error:WRONG ANSWER