For this Question: How many people must be there in a room to make the probability p such that at- least two people in the room have same birthday?The first line in the input contains the probability p.

<b>Constraints</b>
0 <= p < 1Print the number of person in the roomSample Input 
0.7

Sample Output 
30, I have written this Solution Code: // C++ program to approximate number of people in Birthday Paradox
// problem
#include <cmath>
#include <iostream>
using namespace std;

// Returns approximate number of people for a given probability
int find(double p) {
    return ceil(sqrt(2 * 365 * log(1 / (1 - p))));
}

int main() {
    float p;
    cin >> p;
    cout << find(p) << "\n";
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?