こんにちは川です。
これは物理のテスト問題より簡単な奴だった。
ソースコード
#include<bits/stdc++.h>
using namespace std;
int serch(double speed,int floor)
{
if(speed<9.8*sqrt*1return floor;
return serch(speed,floor+1);
}
int main()
{
int n;
double x,y,qux;
while(cin>>qux){
n=serch(qux,1);
cout<<n<<endl;
}
}