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

912414_0_0_18345.cpp:3: error: expected constructor, destructor, or type conversion before ';' token
912414_0_0_18345.cpp: In function `int main()':
912414_0_0_18345.cpp:13: error: `gongyueshu' undeclared (first use this function)
912414_0_0_18345.cpp:13: error: (Each undeclared identifier is reported only once for each function it appears in.)
912414_0_0_18345.cpp:18: error: name lookup of `i' changed for new ISO `for' scoping
912414_0_0_18345.cpp:8: error:   using obsolete binding at `i'
912414_0_0_18345.cpp: At global scope:
912414_0_0_18345.cpp:22: error: ISO C++ forbids declaration of `gongyueshu' with no type
912414_0_0_18345.cpp: In function `int gongyueshu(int, int)':
912414_0_0_18345.cpp:22: error: `int gongyueshu(int, int)' used prior to declaration


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 08:31:02, Gzip enabled