0_0_16407403_5343.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16407403_5343.cpp:3:13: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16407403_5343.cpp:5:13: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16407403_5343.cpp: In function 'int cmp(Node, Node)':
0_0_16407403_5343.cpp:25:30: error: 'strcmp' was not declared in this scope
if(strcmp(x.space,y.space))
^
0_0_16407403_5343.cpp:29:32: error: 'strcmp' was not declared in this scope
return strcmp(x.name,y.name)<0;
^
0_0_16407403_5343.cpp: In function 'int main()':
0_0_16407403_5343.cpp:39:18: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_16407403_5343.cpp:49:5: error: expected ';' before '{' token
{
^
0_0_16407403_5343.cpp:49:5: error: expected primary-expression before '{' token
0_0_16407403_5343.cpp:49:5: error: expected ')' before '{' token
0_0_16407403_5343.cpp:55:19: error: 'sort' was not declared in this scope
sort(f,f+n,cmp);
^
0_0_16407403_5343.cpp:61:25: error: 'strcpy' was not declared in this scope
strcpy(di,f[0].space);
^
0_0_16407403_5343.cpp:67:5: error: expected ';' before '{' token
{
^
0_0_16407403_5343.cpp:67:5: error: expected primary-expression before '{' token
0_0_16407403_5343.cpp:67:5: error: expected ')' before '{' token
0_0_16407403_5343.cpp:69:28: error: 'strcmp' was not declared in this scope
if(strcmp(di,f[i].space))
^
0_0_16407403_5343.cpp:83:29: error: 'strcmp' was not declared in this scope
if(!strcmp(di,f[i].space))
^
0_0_16407403_5343.cpp:91:21: error: 'printf' was not declared in this scope
printf("%s\n",di);
^
0_0_16407403_5343.cpp:111:37: error: 'printf' was not declared in this scope
printf(" |----%s(%d)\n",min,cnt);
^
0_0_16407403_5343.cpp:127:16: error: 'printf' was not declared in this scope
printf("\n");
^
|