foo.cc: In function 'long long int read()':
foo.cc:8:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
while ((ch!='-') && ch<'0' || ch>'9')
~~~~~~~~~~^~~~~~~~~
foo.cc: In function 'int c1()':
foo.cc:34:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s1.size();i++)//横排处理
~^~~~~~~~~~
foo.cc:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int c2()':
foo.cc:52:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s2.size();i++)//横排处理
~^~~~~~~~~~
foo.cc:67:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int c3()':
foo.cc:70:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s3.size();i++)//横排处理
~^~~~~~~~~~
foo.cc:85:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int r1()':
foo.cc:106:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int r2()':
foo.cc:127:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int r3()':
foo.cc:148:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int x1()':
foo.cc:169:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int x2()':
foo.cc:190:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int tot()':
foo.cc:193:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s1.size();i++)
~^~~~~~~~~~
foo.cc:200:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s2.size();i++)
~^~~~~~~~~~
foo.cc:207:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<s3.size();i++)
~^~~~~~~~~~
foo.cc:214:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-10T04:23:52.738Z","handle":"2020-08-10T04:23:52.738Z","cache_start":"2020-08-10T04:23:52.747Z","read_cases":"2020-08-10T04:23:52.862Z","judge":"2020-08-10T04:23:52.862Z","done":"2020-08-10T04:23:53.946Z"}