/ Vijos /

# 记录详情

```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;
^~~

`{"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"}`
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 211 ，应为 2 1ms 256.0 KiB
#2 Wrong Answer 读取到 34593 ，应为 20 1ms 256.0 KiB
#3 Wrong Answer 读取到 7127893315569 ，应为 486694 9ms 256.0 KiB
#4 Wrong Answer 读取到 808612501 ，应为 2893 1ms 256.0 KiB
#5 Wrong Answer 读取到 12583347750000 ，应为 600000 11ms 256.0 KiB
#6 Wrong Answer 读取到 3911593195181 ，应为 365504 7ms 256.0 KiB
#7 Wrong Answer 读取到 165 ，应为 0 1ms 256.0 KiB
#8 Wrong Answer 读取到 3634350592510 ，应为 382716 7ms 256.0 KiB
#9 Wrong Answer 读取到 12252878111995 ，应为 595336 12ms 256.0 KiB
#10 Wrong Answer 读取到 12583374750001 ，应为 488895 12ms 256.0 KiB

# 信息

P1848 记数问题

C++

2020-06-27 17:40:53

2020-06-27 17:40:53

0

66ms

256.0 KiB