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

На тестовых входных данных вроде всё ок. Но выдаёт Wrong Answer. Почему?
Posted by ivanbelousov 6 Dec 2016 17:02
#include <stdio.h>
#include <math.h>

int main( int argc, char ** argv )
{
    unsigned long number[256*1024];
    int counter = 0;
    while( scanf("%lu",&number[counter]) != EOF )
    {
        counter++;
    }

    for( counter--; counter >= 0; counter-- )
        printf("%.4f\n",sqrt(number[counter]));
    return 0;
}
Re: На тестовых входных данных вроде всё ок. Но выдаёт Wrong Answer. Почему?
Posted by ToadMonster 6 Dec 2016 18:12