0_0_16388059_24508.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16388059_24508.cpp:21:5: error: 'string' does not name a type
string name;
^
0_0_16388059_24508.cpp:24:1: error: 'vector' does not name a type
vector<</SPAN>int> v[N];
^
0_0_16388059_24508.cpp:28:6: error: 'string' was not declared in this scope
find(string s1)
^
0_0_16388059_24508.cpp:29:1: error: expected ',' or ';' before '{' token
{
^
0_0_16388059_24508.cpp: In function 'int fun(int, int)':
0_0_16388059_24508.cpp:59:20: error: expected primary-expression before '/' token
for(int i=0;i<</SPAN>v[x].size();i++)
^
0_0_16388059_24508.cpp:59:21: error: 'SPAN' was not declared in this scope
for(int i=0;i<</SPAN>v[x].size();i++)
^
0_0_16388059_24508.cpp:59:26: error: 'v' was not declared in this scope
for(int i=0;i<</SPAN>v[x].size();i++)
^
0_0_16388059_24508.cpp: In function 'int main()':
0_0_16388059_24508.cpp:67:5: error: 'string' was not declared in this scope
string s1;
^
0_0_16388059_24508.cpp:68:5: error: 'queue' was not declared in this scope
queue<</SPAN>int>q;
^
0_0_16388059_24508.cpp:68:12: error: expected primary-expression before '/' token
queue<</SPAN>int>q;
^
0_0_16388059_24508.cpp:68:13: error: 'SPAN' was not declared in this scope
queue<</SPAN>int>q;
^
0_0_16388059_24508.cpp:68:18: error: expected primary-expression before 'int'
queue<</SPAN>int>q;
^
0_0_16388059_24508.cpp:69:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=-1)
^
0_0_16388059_24508.cpp:71:20: error: expected primary-expression before '/' token
for(i=0;i<</SPAN>N;i++)
^
0_0_16388059_24508.cpp:72:9: error: 'v' was not declared in this scope
v[i].clear();
^
0_0_16388059_24508.cpp:74:20: error: expected primary-expression before '/' token
for(i=0;i<</SPAN>n;i++)
^
0_0_16388059_24508.cpp:76:13: error: 'cin' was not declared in this scope
cin>>s[i].name>>s[i].p;
^
0_0_16388059_24508.cpp:76:23: error: 'struct node' has no member named 'name'
cin>>s[i].name>>s[i].p;
^
0_0_16388059_24508.cpp:82:13: error: 'cin' was not declared in this scope
cin>>s1>>x;
^
0_0_16388059_24508.cpp:82:18: error: 's1' was not declared in this scope
cin>>s1>>x;
^
0_0_16388059_24508.cpp:83:24: error: expected primary-expression before '/' token
for(i=0;i<</SPAN>k;i++)
^
0_0_16388059_24508.cpp:84:25: error: 'struct node' has no member named 'name'
if(s1==s[i].name)
^
0_0_16388059_24508.cpp:88:22: error: 'struct node' has no member named 'name'
s[k].name=s1;
^
0_0_16388059_24508.cpp:99:13: error: 'cin' was not declared in this scope
cin>>s1;
^
0_0_16388059_24508.cpp:99:18: error: 's1' was not declared in this scope
cin>>s1;
^
0_0_16388059_24508.cpp:100:13: error: 'q' was not declared in this scope
q.push(find(s1));
^
0_0_16388059_24508.cpp:100:27: error: 'find' cannot be used as a function
q.push(find(s1));
^
0_0_16388059_24508.cpp:105:31: error: 'find' cannot be used as a function
q.push(find(s1));
^
0_0_16388059_24508.cpp:109:22: error: 'find' cannot be used as a function
x=find(s1);
^
0_0_16388059_24508.cpp:114:17: error: 'v' was not declared in this scope
v[x].push_back(y);
^
0_0_16388059_24508.cpp:121:13: error: 'cin' was not declared in this scope
cin>>s1>>y;
^
0_0_16388059_24508.cpp:121:18: error: 's1' was not declared in this scope
cin>>s1>>y;
^
0_0_16388059_24508.cpp:122:29: error: 'find' cannot be used as a function
ans+=fun(find(s1),y);
^
0_0_16388059_24508.cpp:124:26: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|