foo.cc: In function 'int shu(char*)':
foo.cc:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;s[i]!=0 ;i++)
^~~
foo.cc:24:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
if( (s[i]>='A' && s[i]<='Z'))
^~
foo.cc:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int main()':
foo.cc:13:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%[^\n] %[^\n]",s1,s2);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。