0_0_12239476_22055.cpp: In function `T& RD(T&)':
0_0_12239476_22055.cpp:6: error: there are no arguments to `getchar' that depend on a template parameter, so a declaration of `getchar' must be available
0_0_12239476_22055.cpp:6: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_12239476_22055.cpp:6: error: there are no arguments to `getchar' that depend on a template parameter, so a declaration of `getchar' must be available
0_0_12239476_22055.cpp:6: error: there are no arguments to `getchar' that depend on a template parameter, so a declaration of `getchar' must be available
0_0_12239476_22055.cpp:6: error: there are no arguments to `getchar' that depend on a template parameter, so a declaration of `getchar' must be available
0_0_12239476_22055.cpp: At global scope:
0_0_12239476_22055.cpp:23: error: expected constructor, destructor, or type conversion before '<' token
0_0_12239476_22055.cpp:23: error: expected `,' or `;' before '<' token
0_0_12239476_22055.cpp: In function `void add(int, int)':
0_0_12239476_22055.cpp:49: error: `lowbit' undeclared (first use this function)
0_0_12239476_22055.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_12239476_22055.cpp: In function `int sum(int)':
0_0_12239476_22055.cpp:54: error: `lowbit' undeclared (first use this function)
0_0_12239476_22055.cpp: In function `int main()':
0_0_12239476_22055.cpp:69: error: `pos' undeclared (first use this function)
0_0_12239476_22055.cpp:70: error: `memset' undeclared (first use this function)
0_0_12239476_22055.cpp:74: error: `max' undeclared (first use this function)
0_0_12239476_22055.cpp:84: error: `min' undeclared (first use this function)
0_0_12239476_22055.cpp:91: error: `sort' undeclared (first use this function)
0_0_12239476_22055.cpp:115: error: `printf' undeclared (first use this function)
0_0_12239476_22055.cpp: In function `T& RD(T&) [with T = int]':
0_0_12239476_22055.cpp:14: instantiated from here
0_0_12239476_22055.cpp:6: error: `getchar' undeclared (first use this function)
|