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_10236246_30641.cpp:18: error: `int time[105]' redeclared as different kind of symbol
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: previous declaration of `time_t time(time_t*)'
0_0_10236246_30641.cpp:18: error: declaration of `int time[105]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
0_0_10236246_30641.cpp: In function `void Init()':
0_0_10236246_30641.cpp:36: error: ISO C++ forbids applying `sizeof' to an expression of function type
0_0_10236246_30641.cpp:36: error: invalid conversion from `time_t (*)(time_t*)' to `void*'
0_0_10236246_30641.cpp:36: error:   initializing argument 1 of `void* memset(void*, int, size_t)'
0_0_10236246_30641.cpp: In function `void Dfs(int, int)':
0_0_10236246_30641.cpp:49: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:49: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:49: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:49: error: assignment of read-only location
0_0_10236246_30641.cpp:49: error: cannot convert `time_t (*)(time_t*)' to `time_t ()(time_t*)' in assignment
0_0_10236246_30641.cpp:54: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:54: error: assignment of read-only location
0_0_10236246_30641.cpp:54: error: cannot convert `int' to `time_t ()(time_t*)' in assignment
0_0_10236246_30641.cpp: In function `void Dfs_(int, int, int)':
0_0_10236246_30641.cpp:144: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:144: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:144: error: ISO C++ forbids using pointer to a function in subtraction
0_0_10236246_30641.cpp: In function `int main()':
0_0_10236246_30641.cpp:182: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:182: error: ISO C++ forbids comparison between pointer and integer
0_0_10236246_30641.cpp:189: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:189: error: ISO C++ forbids comparison between pointer and integer
0_0_10236246_30641.cpp:191: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:191: error: invalid types `int[505][time_t ()(time_t*)]' for array subscript
0_0_10236246_30641.cpp:232: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:232: error: pointer to a function used in arithmetic
0_0_10236246_30641.cpp:232: error: ISO C++ forbids using pointer to a function in subtraction


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-12-05 11:36:54, Gzip enabled