/ 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 Wrong Answer 5ms 368.0 KiB
#2 Runtime Error 5ms 256.0 KiB
#3 Runtime Error 6ms 380.0 KiB
#4 Wrong Answer 4ms 364.0 KiB
#5 Runtime Error 5ms 332.0 KiB
#6 Runtime Error 6ms 348.0 KiB
#7 Runtime Error 5ms 348.0 KiB
#8 Runtime Error 5ms 372.0 KiB
#9 Runtime Error 5ms 328.0 KiB
#10 Accepted 4ms 336.0 KiB

信息

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