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_19219364_4875.c:22:11: error: conflicting types for 'fib'
 long long fib(int num)
           ^
0_0_19219364_4875.c:12:18: note: previous implicit declaration of 'fib' was here
   printf("&ld\n",fib(num));
                  ^
0_0_19219364_4875.c: In function 'fib':
0_0_19219364_4875.c:24:9: error: 'g' undeclared (first use in this function)
 int f=1;g=1;
         ^
0_0_19219364_4875.c:24:9: note: each undeclared identifier is reported only once for each function it appears in


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-26 03:34:56, Gzip enabled