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 <cmath>
#include <cstdio>
#include <iostream>

using namespace std;

const double eps = 1e-9;

int main() {
	double v;
	while (scanf("%lf", &v) != EOF) {
		double n = (v * v / 19.6 + 5) / 5.0;
		if (!(fabs(n - (int)n) < eps)) n += 1;
		printf ("%d\n", (int)n);
	}
	return 0;
}

C++: #include <iostream>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <math.h>
using namespace std;

int main(){
	double v;
	int f;
	while(scanf("%lf",&v)!=EOF){
		f=v*v/98+2;
		cout<<f<<endl;
	}
}

C++: #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <complex>
#include <stack>
#include <queue>
using namespace std;
static const double EPS = 1e-5;
typedef long long ll;
#define FOR(i,n) for(i=0;i<n;i++)
#define rep(i,n) for(int i=0;i<n;i++)

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

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

double speed(double x) {
	double time = x / 9.8;
	double y = 4.9*time*time;
	double f = (y / 5)+1 ;
	f = floor(f);
	int g = static_cast<int>(f);
	return g;
}

int main() {
	double x;
	while (cin >> x) {
		cout << speed(x) << endl;
	}
	return 0;
}

C++: #include<iostream>
#include<math.h>
using namespace std;
int main()
{
		double v, temp, N;
		cin >> v;
		temp = v / 9.8;
		temp = 4.9 * pow(temp,2);
		N = (temp + 5) / 5;
		cout << ceil(N) << endl;
	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){
		scanf("%d",&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);
		}
		printf("%d\n",n);
	}
	/*****処理終了後*****/
#ifdef DEBUG
	fout.close();
	fin.close();
#endif
	return 0;
}

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

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

    int ans = 1;
    while (5*ans-5 < y)
      ++ans;

    cout << ans << endl;
  }
  return 0;
}

C++: #include <stdio.h>
#include<math.h>
using namespace std;

int main(){
	double v,N;

	while(scanf("%lf",&v)!=EOF){
		for(int N=0;;N+=1){
			if(N >= (v*v+98)/98){
				printf("%d\n",(int)N);
				break;
			}
		}
	}

    return 0;
}

C++: #ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>

#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#endif

#include <array>

using namespace std;

int main ()
{
	double x;
	while( cin >> x )
	{
		cout <<(int) ( pow ( x / 9.8 , 2.0 )*4.9 + 5 +5-(1e-10)) / 5 << endl;
	}
}

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

int main()
{
    int y, t, v, nv, cont = 1;
    while(cin >> nv)
    {
	y = (nv * nv) / 19.6;
	
	while(y>0){	
	    y -= 5;
	    cont++;
	}
	
	cout << cont << endl;
    }
}

C++: # include <iostream>
# include <algorithm>
# include <vector>
# include <string>
# include <set>
# include <map>
# include <cmath>
# include <iomanip>
# include <functional>
# include <utility>
# include <stack>
# include <queue>
# include <list>
# include <bitset>
# include <complex>
# include <numeric>
using namespace std;
using LL = long long;
using ULL = unsigned long long;
constexpr long long MOD = 1000000000 + 7;
constexpr int INF = 2000000000;
constexpr int HINF = INF / 2;
constexpr double DINF = 100000000000000000.0;
constexpr long long LINF = 9223372036854775807;
constexpr long long HLINF = 4500000000000000000;
const double PI = acos(-1);

int main() {
	double v;
	while (cin >> v) {
		cout << ceil((4.9*(v / 9.8)*(v / 9.8) + 5) / 5) << endl;
	}
}

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

C++: 
#include<iostream>
#include<stdio.h>

using namespace std;

int main(){
	double  v;

	while(scanf("%lf",&v) != EOF){

		cout << (int)((49*2)*((v*v)/(98*98)) + 1 + 0.9)<< endl;
	}
	return 0;
}

C++: #include <iostream>

using namespace std;

int main() {
	double v;

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

		for (int i = 1; ; i++) {
			if (5 * i - 5 > v) {
				cout << i << endl;
				break;
			}
		}
	}
	return 0;
}

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

int main() {
	double v;
	while(cin >> v) {
		double y = v*v / 19.8;
		double N = (y+5.0) / 5.0;
		cout << ceil(N) << endl;
	}

	return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <cmath>
#include <stack>
#define REP(i, n) for(int i = 0;i < n;i++)
#define REPR(i, n) for(int i = n;i >= 0;i--)
using namespace std;

int main(){
    double n;
    while (cin>>n){
        double t, y;
        t = n / 9.8;
        y = 4.9 * t * t;
        int N;
        N = y / 5 + 2;
        cout << N << endl;
    }
}

C++: #include "bits/stdc++.h"
using namespace std;
int main() {
	double v;
	while (cin >> v) {
		int N = 0;
		double V = 0;
		do{
			N++;
			double h = 5 * N - 5;
			V = 9.8*pow(h / 4.9, 0.5);
		} while (V < v);
		cout << N << endl;
	}
}

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

int main() {
  double v;
  while(cin >> v) {
    cout << (int)ceil(v*v/98.0)+1 << endl;
  }
  return 0;
}