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

56437_0_16317.cpp
56437_0_16317.cpp(160) : warning C4508: 'main' : function should return a value; 'void' return type assumed
56437_0_16317.cpp(163) : error C2084: function 'int __cdecl isinvalid(int,int,int)' already has a body
56437_0_16317.cpp(182) : error C2084: function 'int __cdecl countdays(int,int,int)' already has a body
56437_0_16317.cpp(243) : error C2084: function 'int __cdecl main(void)' already has a body
56437_0_16317.cpp(249) : error C2446: '==' : no conversion from 'const int' to 'int (__cdecl *)(int,int,int)'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
56437_0_16317.cpp(249) : error C2040: '==' : 'int (__cdecl *)(int,int,int)' differs in levels of indirection from 'const int'
56437_0_16317.cpp(253) : error C2440: '=' : cannot convert from 'int (__cdecl *)(int,int,int)' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast


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-09-28 01:23:57, Gzip enabled