记录详情

Accepted

foo.cc: In function 'void init(int*)':
foo.cc:15:26: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
     memset(a, 0, sizeof(a));
                          ^
foo.cc:12:17: note: declared here
 void init(int a[]){
                 ^
foo.cc:15:24: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     memset(a, 0, sizeof(a));
                        ^

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-23T06:58:46.282Z","handle":"2020-02-23T06:58:46.282Z","cache_start":"2020-02-23T06:58:46.283Z","read_cases":"2020-02-23T06:58:46.467Z","judge":"2020-02-23T06:58:46.468Z","done":"2020-02-23T06:58:47.063Z"}
# 状态 耗时 内存占用
#1 Accepted 3ms 228.0 KiB
#2 Accepted 2ms 300.0 KiB
#3 Accepted 3ms 296.0 KiB
#4 Accepted 3ms 228.0 KiB

信息

递交者
类型
递交
题目
P1134 回文数
比赛
南京师范大学算法竞赛之2020年寒假战“疫”系列赛Round3 总第73期赛
语言
C++
递交时间
2020-02-23 14:58:46
评测时间
2020-02-23 14:58:46
评测机
分数
100
总耗时
11ms
峰值内存
300.0 KiB