Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:10:28: error: invalid conversion from 'int' to 'void*' [-fpermissive] memset(ans,127,sizeof(ans)); ^ In file included from /usr/include/memory.h:29:0, from /in/foo.cc:3: /usr/include/string.h:62:14: note: initializing argument 1 of 'void* memset(void*, int, size_t)' extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1239 简单的网络游戏
- 语言
- C++
- 递交时间
- 2017-05-27 20:50:36
- 评测时间
- 2017-05-27 20:50:36
- 评测机
- 分数
- 0
- 总耗时
- 253ms
- 峰值内存
- 33.859 MiB