Run id: 81793
Main.cc:3:7: error: expected nested-name-specifier before 'namespase'
using namespase std;
^
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'strig' was not declared in this scope
strig a;
^
Main.cc:6:10: error: 'cin' was not declared in this scope
getline(cin,a);
^
Main.cc:6:10: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:6:14: error: 'a' was not declared in this scope
getline(cin,a);
^
Main.cc:7:6: error: expected unqualified-id before '=' token
int =a.length(),c=0;
^
Main.cc:8:16: error: 'b' was not declared in this scope
for(int i=0;i' and 'int')
Main.cc:9:39: error: 'c' was not declared in this scope
if(a[i]==' '&&a[i+1]!=' '&&[i-1]!=0)c++; }
^
Main.cc:10:3: error: 'cout' was not declared in this scope
cout