foo.cc: In function 'int bs(int, int)':
foo.cc:5:9: warning: unused variable 'n' [-Wunused-variable]
int n = 0, ys, ls = 0 , lsb = b;
^
foo.cc:20:25: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (ys*(a/ys)*(b/ys));
~~^~~~
foo.cc: In function 'int main()':
foo.cc:20:25: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (ys*(a/ys)*(b/ys));
~~^~~~
foo.cc:5:16: note: 'ys' was declared here
int n = 0, ys, ls = 0 , lsb = b;
^~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-06-27T07:21:23.128Z","handle":"2020-06-27T07:21:23.128Z","cache_start":"2020-06-27T07:21:23.136Z","read_cases":"2020-06-27T07:21:23.268Z","judge":"2020-06-27T07:21:23.275Z","done":"2020-06-27T07:21:23.774Z"}