Birthday problem in mathmatics challenges

i am getting only test case 1 as wrong answer . what is that test case bhaiya?

if(m==0){
cout<<366<<endl;
}

1 Like