ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

CE
Posted by begi 3 Jan 2007 19:17
#include<iostream>
#include<cstdio>
#include<vector>
using namespace std;
int main()
{
    _int64 x;
    vector <double> y;
    while(cin >> x)
    {
        y.push_back(sqrt(1.0*x));
    }
    for(int i=y.size()-1;i>=0;i--)
        printf("%0.4f\n",y[i]);
    return 1;
}

I'm having CE,but in my computer it compiled normally?
Re: CE
Posted by Slam [Tartu U] 3 Jan 2007 22:11
#include <cmath>
Re: CE
Posted by Lomir 4 Jan 2007 13:22
try to use:
typedef long long _int64;