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:54.513Z","handle":"2020-06-27T09:40:54.513Z","cache_start":"2020-06-27T09:40:54.522Z","read_cases":"2020-06-27T09:40:54.637Z","judge":"2020-06-27T09:40:54.638Z","done":"2020-06-27T09:40:55.232Z"}