/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:21: 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));
                     ^
/in/foo.cc:27:21: 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(b, 0, sizeof(b));
                     ^
# 状态 耗时 内存占用
#1 Runtime Error 4ms 376.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Wrong Answer 5ms 336.0 KiB
#4 Runtime Error 5ms 352.0 KiB
#5 Wrong Answer 4ms 256.0 KiB
#6 Wrong Answer 5ms 380.0 KiB
#7 Wrong Answer 5ms 348.0 KiB
#8 Wrong Answer 5ms 336.0 KiB
#9 Wrong Answer 5ms 256.0 KiB
#10 Accepted 3ms 352.0 KiB

信息

递交者
类型
递交
题目
P1291 苹果摘陶陶
语言
C++
递交时间
2018-03-03 22:12:40
评测时间
2018-03-03 22:12:40
评测机
分数
10
总耗时
50ms
峰值内存
380.0 KiB