348283_0_9580.cpp:7: error: conflicting declaration 'int t[1000]'
348283_0_9580.cpp:7: error: 't' has a previous declaration as `int t'
348283_0_9580.cpp:7: error: type mismatch with previous external decl of `int t[1000]'
348283_0_9580.cpp:7: error: previous external decl of `int t'
348283_0_9580.cpp:7: error: declaration of `int t[1000]'
348283_0_9580.cpp:7: error: conflicts with previous declaration `int t'
348283_0_9580.cpp: In function `int RMQ(int, int)':
348283_0_9580.cpp:29: error: invalid types `int[int]' for array subscript
348283_0_9580.cpp:30: error: invalid types `int[int]' for array subscript
348283_0_9580.cpp: At global scope:
348283_0_9580.cpp:36: error: `y' has not been declared
348283_0_9580.cpp:37: error: ISO C++ forbids declaration of `parameter' with no type
348283_0_9580.cpp: In function `int max(int, int)':
348283_0_9580.cpp:37: error: `y' undeclared (first use this function)
348283_0_9580.cpp:37: error: (Each undeclared identifier is reported only once for each function it appears in.)
348283_0_9580.cpp: At global scope:
348283_0_9580.cpp:39: error: `y' has not been declared
348283_0_9580.cpp:40: error: ISO C++ forbids declaration of `parameter' with no type
348283_0_9580.cpp: In function `int min(int, int)':
348283_0_9580.cpp:40: error: `y' undeclared (first use this function)
348283_0_9580.cpp: In function `void Init()':
348283_0_9580.cpp:55: error: invalid types `int[int]' for array subscript
348283_0_9580.cpp: In function `int main()':
348283_0_9580.cpp:81: error: invalid types `int[int]' for array subscript
|