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_34984972_15679.cpp:1:271: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>typede: Invalid argument
 #include <stdio.h>typedef __int64 INT;INT sum[60];int main(){    int n,i;    sum[1]=1;    sum[2]=2;    sum[3]=3;    sum[4]=4;    for (i=5; i<=55 ;i++)        sum[i] = sum[i-1]+sum[i-3];    while (scanf("%d",&n),n)    {        printf("%I64d\n",sum[n]);    }    return 0;}
                                                                                                                                                                                                                                                                               ^
compilation terminated.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 09:23:54, Gzip enabled