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

Discussion of Problem 1001. Reverse Root

I want to find my code problem . help me!!!.
Posted by master amir 26 Mar 2014 03:32
#include<iostream>
#include<stdio.h>

int main(void){

    double a;
    int i = -1;
        double NUM [100000];

     while(EOF != scanf("%lf", &a)){
      NUM[++i] = sqrt(a);
     }

     i--;
     while(i>=0){
         printf("%.4f\n",NUM[i]);
         i--;
     }
     return 0;

}
Re: I want to find my code problem . help me!!!.
Posted by MaJunZhe 28 Mar 2014 19:47
Have you less a header file <math.h>?