Main.cc: In function 'int main()':
Main.cc:7:5: error: expected initializer before 'cin'
cin>>s
^
Main.cc:8:15: error: 'j' was not declared in this scope
for( int j=1;j<=s;j++)
^
Main.cc:8:18: error: 's' was not declared in this scope
for( int j=1;j<=s;j++)
^