printer.cpp: In function 'bool sf(std::__cxx11::string, std::__cxx11::string)':
printer.cpp:17:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s1.size()<=t || s2.size()<=t) return s1<s2;
~~~~~~~~~^~~
printer.cpp:17:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s1.size()<=t || s2.size()<=t) return s1<s2;
~~~~~~~~~^~~
printer.cpp: In function 'int main()':
printer.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<str[i].size(); j++){
~^~~~~~~~~~~~~~
printer.cpp:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stack.size()==j){
~~~~~~~~~~~~^~~
printer.cpp:40:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(stack.size()>j && stack[j]!=str[i][j]){
~~~~~~~~~~~~^~
printer.cpp:43:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stack.size()==j){
~~~~~~~~~~~~^~~
printer.cpp:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ans.size(); i++){
~^~~~~~~~~~~
printer.cpp:26:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
~~~~~^~~~~~~~~~