/in/foo.cc: In function 'int work()':
/in/foo.cc:68:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:72:28: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("1.txt","r",stdin);
^
/in/foo.cc:80:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s1);
^
/in/foo.cc:86:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s1);
^