F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_19216737_10344.cpp:3:435: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>lon: Invalid argument
 # include <stdio.h>long long num[60] ;int main (){    int i, j, n ;    long long rtn ;    while (~scanf ("%d", &n),n)    {        rtn = 0 ;        num[n] = 0 ;        for(i = 0 ; i < n ; i++)            scanf ("%I64d", &num[i]) ;        for (i = n-1 ; i>= 0 ; i--)        {            rtn += num[i] ;            for (j = i-1 ; j>= 0; j--)                num[j] += num[i] ;        }        printf ("%I64d\n", rtn) ;    }    return 0 ;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
compilation terminated.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 10:51:48, Gzip enabled