/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:19: 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(f,0,sizeof(f));
                   ^
# 状态 耗时 内存占用
#1 Accepted 3ms 372.0 KiB
#2 Accepted 3ms 368.0 KiB
#3 Accepted 3ms 364.0 KiB
#4 Accepted 3ms 368.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 4ms 352.0 KiB
#7 Accepted 3ms 472.0 KiB
#8 Accepted 5ms 384.0 KiB
#9 Accepted 3ms 480.0 KiB
#10 Accepted 3ms 376.0 KiB

信息

递交者
类型
递交
题目
P1317 开心的金明
语言
C++
递交时间
2018-08-07 10:12:22
评测时间
2018-08-07 10:12:22
评测机
分数
100
总耗时
39ms
峰值内存
480.0 KiB