Go: package main

import (
        "fmt"
        "math"
)

func main() {
        var v, t, h float64
        for {
                _, err := fmt.Scanf("%f", &v)
                if err != nil {
                        break
                }
                t = v / 9.8
                h = 4.9 * t * t
                n := math.Floor(h/5+1.0) + 1.0
                fmt.Printf("%d\n", int(n))
        }
}

C++: #include	<iostream>
#include	<cmath>

using namespace std;

int main(void) {
	while(1) {
		double v, y, t;
		cin >> v;
		if( cin.eof() )	break;
		
		t = v / 9.8;
		y = 4.9 * t * t;
		
		int f;
		
		for(int i = 1;;i++) {
			f = 5 * i - 5;
			if(y < f) {
				cout << i << endl;
				break;
			}
		}
	}
	return 0;
}

C++: #include <stdio.h>
#include <math.h>
int main() {double h;while (scanf("%lf",&h)!=EOF) printf("%d\n",(int)(ceil((((h*h*4.9/9.8)/9.8+5.0)/5.0)+1e-9))); return 0;}

C++: #include <algorithm>
#include <cmath>
#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#include <cassert>
#include <functional>

using namespace std;

#define LOG(...) printf(__VA_ARGS__)
//#define LOG(...)
#define FOR(i,a,b) for(int i=(int)(a);i<(int)(b);++i)
#define REP(i,n) for(int i=0;i<(int)(n);++i)
#define ALL(a) (a).begin(),(a).end()
#define RALL(a) (a).rbegin(),(a).rend()
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())
#define RSORT(c) sort((c).rbegin(),(c).rend())
#define CLR(a) memset((a), 0 ,sizeof(a))

typedef long long ll;
typedef unsigned long long ull;
typedef vector<bool> vb;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<vb> vvb;
typedef vector<vi> vvi;
typedef vector<vll> vvll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;

const int dx[] = { -1, 0, 1, 0 }; const int dy[] = { 0, 1, 0, -1 };

int main() {
	float a;
	while (cin >> a){
		cout<< ceil((a*a / 19.6f)/5.0)+1<<endl;
		
	}
}

C++: #include <iostream>
#include <cmath>
using namespace std;

const double EPS = 1.0e-6;
int main(){
	double v;
	while(cin>>v){
		double y = 4.9*v*v/9.8/9.8;
		int N = (y+5)/5 + 1;
		cout<<N<<endl;
	}
	return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
    double v,t,y;
    int N;
    while(cin >> v){
        t = v / 9.8;
        y = 4.9 * t * t;
        N = y / 5 + 2;
        cout << N << endl;
    }
}

C++: #include <iostream>

using namespace std;

int main() {

	double v, t, y;
	int N, i, h[100000];

	for(i=0; i<100000; i++) {
		h[i]=5*i-5;
	}

	while(cin>>v) {
		t=v/9.8;
		y=4.9*t*t;

		N=(int)((y+5)/5);
		for(i=0; i<100000; i++) {
			if(h[i]>=y) {
				N=i;
				break;
			}
		}
		cout << N << endl;
	}

	return 0;

}

C++: #include <iostream>
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>

using namespace std;

#define EPS (1e-10)
#define EQ(a,b) (abs((a) - (b)) < EPS)

int main(){

	double v;

	while(cin>>v){
		double t = v/9.8;
		double y = 4.9*t*t;
//		if(EQ(y,0))
//			cout<<1<<endl;
//		else
			cout<<(int)(y/5)+2<<endl;
	}
		
	return 0;
}

C++: #include <iostream>
#include <cmath>
using namespace std;
int main(){
  double v;
  while(cin >> v)
    {
      double t = v/9.8;
      double y = 4.9*t*t;
      double n = ceil((y + 5)/5);
      cout << n << endl;
    }
}

C++: #include<iostream>
#include<iomanip>
using namespace std;

int main()
{
    double v, t, y, n;

    while( cin >> v )
    {
        t = v / 9.8;                 //t秒間に
        y = 4.9 * t * t;             //yだけ落下

        n = ( y + 5 ) / 5;           //n階
        if( n - (int)n > 0 )         //nが少数で出たら、切り上げ。
            n = (int)( n + 1 );
        cout << n << endl;
    }
    return 0;
}

C++: #include <iostream>
using namespace std;

int main()
{
  double v, t, y;
  int n;
  while (cin >> v){
    t = v / 9.8;
    y = 4.9 * t * t;
    for (n = 1; y > 5 * (n - 1); n++){
    }
    cout << n << endl;
  }
  return 0;
}

C++: #include <iostream>
#include <string>
#include <vector>
using namespace std;

int main() {
    int v;
    while (cin >> v) {
        int N = 0;
        for ( ; ; ++N) {
            int y = 5 * N - 5;
            if (v * v * 10 <= 196 * y) break;
        }
        cout << N << endl;
    }
    return 0;
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <set>
#include <sstream>
#include <map>

using namespace std;

const double eps=1e-10;

int main()
{
	double v;
	while(cin>>v){
		unsigned long long l=1,r=1e16,h;

		while(l+1!=r){

//			cout<<l<<" "<<r<<endl;

			h=(l+r)/2;
			double vv=2.0*9.8*(5*h-5);

			if(v*v>vv) l=h;
			else r=h;
		}
		cout<<h<<endl;

	}

	return 0;
}

C++: #include<iostream>
using namespace std;
int main()
{
long double v,n;
int N;
while(cin>>v)
{
n=(4.9*(v/9.8)*(v/9.8))/5+1;
N=n*10000;	
if(N%10000==0)
{
	cout<<N/10000<<endl;
}
else if(N%10000!=0)
{
	cout<<N/10000+1<<endl;
}
}
return 0;
}

C++: #include<cstdio>
#include<cmath>

double v;//球が割れる最低速度

int main()
{
	while(scanf("%lf",&v)!=EOF)
	{
		double date = v*v/19.6;
		int N=ceil(date/5)+1;
		printf("%d\n",N);
	}
}

C++: #include <iostream>

using namespace std;

int main(int argc, char const* argv[])
{
	double t,v,y;
	double h;
	int N;

	while( cin >> v ){
		t = v / 9.8;
		y = 4.9 * t * t;
		N = ( y + 5 ) / 5;
		N++;
		cout << N << endl;
	}
}

C++: #include <cstdio>

using namespace std;

int main()
{
	// v = 9.8t y = 4.9t^2
	
	double t,y,x;
	int n;
	
	while(scanf("%lf", &x) != EOF){
	
		t = x / 9.8;
		y = 4.9 * t * t;
		
		n = y;
		
		n += 5;
		n = n / 10 * 10;
		n /= 5;
		printf("%lf %lf %d\n",t,y, n+2);
	}
	return(0);
}

C++: #include <cstdio>
#include <cmath>
using namespace std;

int main(){
	double v;
	double h, t, y;
	int N;
	
	while((scanf("%lf", &v)) != EOF){
		t = v / 9.8;
		y = 4.9 * pow(t, 2);
		
		N = y / 5 + 1;
		if((double)5 * N - 5 < y) N++;
		
		printf("%d\n", N);
	}
	
	return 0;
}

C++: /*****include*****/
#include <iostream>
#include <fstream>
#include <string>

/*****デバッグ定義*****/
//#define DEBUG
/*****マクロ定義*****/

/*****名前空間*****/
using namespace std;

/*****グローバル変数置き場*****/

/*****その他関数置き場*****/

/*****main関数*****/
int main(){
	/*****ファイルオープン*****/
#ifdef DEBUG
	ofstream fout("output.txt");
	ifstream fin("input.txt");
	if(!fout || !fin){
		cout << "Can't open the file.\n";
		return;
	}
#endif
	/*****変数置き場*****/
	double b_v;
	double v_sq;
	long int n;
	/*****処理部*****/
	while(1){
		cin >> b_v;
		if(b_v == 0)	break;
		n=0;
		v_sq = 0;
		while(v_sq < b_v*b_v){
			n++;
			v_sq = 19.6 * (5*(double)n - 5);
		}
		cout << n << endl;
	}
	/*****処理終了後*****/
#ifdef DEBUG
	fout.close();
	fin.close();
#endif
	return 0;
}