0_0_29896039_29247.cpp: In function 'int main()':
0_0_29896039_29247.cpp:4:2: error: 'string' was not declared in this scope
string a;
^
0_0_29896039_29247.cpp:6:8: error: 'cin' was not declared in this scope
while(cin>>a>>k)
^
0_0_29896039_29247.cpp:6:13: error: 'a' was not declared in this scope
while(cin>>a>>k)
^
0_0_29896039_29247.cpp:10:14: error: 'N' was not declared in this scope
m=new int [N];
^
0_0_29896039_29247.cpp:27:13: error: 'NULL' was not declared in this scope
if(a[i]==NULL)
^
0_0_29896039_29247.cpp:64:4: error: 'cout' was not declared in this scope
cout<<"-1"<<endl;
^
0_0_29896039_29247.cpp:64:16: error: 'endl' was not declared in this scope
cout<<"-1"<<endl;
^
0_0_29896039_29247.cpp:118:5: error: 'cout' was not declared in this scope
cout<<g;
^
0_0_29896039_29247.cpp:123:6: error: 'cout' was not declared in this scope
cout<<"-1"<<endl;
^
0_0_29896039_29247.cpp:123:18: error: 'endl' was not declared in this scope
cout<<"-1"<<endl;
^
|