Main.cc: In function 'int main()':
Main.cc:4:9: warning: unused variable 'j' [-Wunused-variable]
int C,i,j,lena;
^
Main.cc:20:1: error: expected '}' at end of input
}
^
Main.cc:6:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&C);
^
Main.cc:9:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a);
^