foo.cc: In function 'long long int solve(int)':
foo.cc:14:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^~~
foo.cc: In function 'int main()':
foo.cc:11:6: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
ans+=a%10;
~~~^~~~~~
foo.cc:8:12: note: 'ans' was declared here
long long ans;
^~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-06-27T09:40:53.096Z","handle":"2020-06-27T09:40:53.096Z","cache_start":"2020-06-27T09:40:53.105Z","read_cases":"2020-06-27T09:40:53.217Z","judge":"2020-06-27T09:40:53.217Z","done":"2020-06-27T09:40:53.779Z"}