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)); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1291 苹果摘陶陶
- 语言
- C++
- 递交时间
- 2018-03-03 22:13:58
- 评测时间
- 2018-03-03 22:13:58
- 评测机
- 分数
- 10
- 总耗时
- 54ms
- 峰值内存
- 380.0 KiB