Banner Home Page DIY Contests Problems Ranklist Status Statistics

View Compilation Error

2_19045_1376134_874.cpp:9: error: `int time' redeclared as different kind of symbol
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: previous declaration of `time_t time(time_t*)'
2_19045_1376134_874.cpp:9: error: declaration of `int time'
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
2_19045_1376134_874.cpp: In function `int main()':
2_19045_1376134_874.cpp:20: error: invalid types `int[100010][15][time_t ()(time_t*)]' for array subscript
2_19045_1376134_874.cpp:21: error: ISO C++ forbids comparison between pointer and integer
2_19045_1376134_874.cpp:21: error: invalid conversion from `time_t (*)(time_t*)' to `int'