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

Писал на языке С ,comlication error
Posted by Vyacheslav 18 Oct 2014 23:25
#include<iostream>
#include<stdio.h>
#include<math.h>

int main()
{
    setlocale(LC_ALL,"Russian");
    double num[4];
    int a;
    for(int a(0);a<4;a++)
    scanf("%lf",&num[a]);
    system("cls");
    printf("Исходные данные: ");
    for(int a(0);a<4;a++)
    {printf("%lg ",num[a]);}
    printf("\nРезультат: ");
    for(int a(3);a>=0;a--)
    {printf("%.4lf ",sqrt(num[a]));}
    printf("\n");
    return 0;
}

Edited by author 18.10.2014 23:25

Edited by author 18.10.2014 23:26
Re: Писал на языке С ,comlication error
Oh, sh..t =) Have you read FAQs?

These are especially useful for you:
http://acm.timus.ru/help.aspx?topic=judge
http://acm.timus.ru/help.aspx?topic=cpp