Compile Error
foo.cpp: In function 'int compare(const void*, const void*)': foo.cpp:13:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((pNode)a)->x == ((pNode)b)->x && ((pNode)a)->y > ((pNode)b)->y; ^ foo.cpp: In function 'int main()': foo.cpp:70:28: error: 'memset' was not declared in this scope memset(ans,n*sizeof(int),0); ^ foo.cpp:59:8: warning: unused variable 'j' [-Wunused-variable] int i,j,n,m; ^ foo.cpp:59:12: warning: unused variable 'm' [-Wunused-variable] int i,j,n,m; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1066 弱弱的战壕
- 语言
- C++
- 递交时间
- 2015-08-13 12:22:46
- 评测时间
- 2015-08-13 12:22:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes