Run id: 145467
Main.cc: In function 'int main()':
Main.cc:11:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=strlen(a);i++){
^
Main.cc:12:18: warning: comparison with string literal results in unspecified behaviour [-Waddress]
if(a[i]>="0"&&a[i]<=9){
^
Main.cc:12:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=strlen(a);i++){
^
Main.cc:17:18: warning: comparison with string literal results in unspecified behaviour [-Waddress]
if(b[i]>="0"&&b[i]<=9){
^
Main.cc:17:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:21:8: error: 's' was not declared in this scope
if(s>n){
^
Main.cc:25:17: error: 'i' was not declared in this scope
cout<