0_0_17188668_30080.cpp:1:1: error: 'ZOJ' does not name a type
ZOJ 2985 Robotic SortCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 #include <stdio.h>
^
0_0_17188668_30080.cpp: In function 'void work()':
0_0_17188668_30080.cpp:163:74: error: 'printf' was not declared in this scope
printf("%d%c", do_reverse(node + buf[i]) + i + 1, i+1==N?'\n':' ');
^
0_0_17188668_30080.cpp: In function 'int main()':
0_0_17188668_30080.cpp:172:25: error: 'scanf' was not declared in this scope
while(scanf("%d", &N) && N) {
^
|