Main.cc: In function 'int main()':
Main.cc:6:7: error: expected initializer before '.' token
int k.t=1;
^
Main.cc:7:7: error: 'k' was not declared in this scope
cin>>k>>s+1;
^
Main.cc:10:6: error: 't' was not declared in this scope
if(t>=k){
^
Main.cc:15:7: error: 't' was not declared in this scope
t++;
^
Main.cc:17:7: error: 't' was not declared in this scope
t=1;
^