0_0_30292450_27976.cpp: In function 'void dfs(int, int)':
0_0_30292450_27976.cpp:10:47: error: 'printf' was not declared in this scope
if(pre/1000 == sum/1000)printf(" ");
^
0_0_30292450_27976.cpp:11:41: error: 'printf' was not declared in this scope
else if(pre != 0)printf("\n");
^
0_0_30292450_27976.cpp:12:28: error: 'printf' was not declared in this scope
printf("%d",sum);
^
0_0_30292450_27976.cpp: In function 'int main()':
0_0_30292450_27976.cpp:29:60: error: 'scanf' was not declared in this scope
while( scanf("%d%d%d%d",&num[1],&num[2],&num[3],&num[4]) ){
^
0_0_30292450_27976.cpp:32:30: error: 'printf' was not declared in this scope
if(t != 1)printf("\n");
^
0_0_30292450_27976.cpp:33:39: error: 'memset' was not declared in this scope
memset(vissum,0,sizeof(vissum));
^
0_0_30292450_27976.cpp:35:28: error: 'sort' was not declared in this scope
sort(num+1, num+1+4);
^
0_0_30292450_27976.cpp:37:20: error: 'printf' was not declared in this scope
printf("\n");
^
|