Compile Error
foo.cpp: In function 'int main()': foo.cpp:116:22: error: request for member 'r' in 'co', which is of non-class type 'huasheng [410]' int o=abs(co[i].r-co.r)+abs(co[i].c-co.c); ^ foo.cpp:116:40: error: request for member 'c' in 'co', which is of non-class type 'huasheng [410]' int o=abs(co[i].r-co.r)+abs(co[i].c-co.c); ^ foo.cpp:132:9: error: expected '}' at end of input return 0; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1120 花生采摘
- 语言
- C++
- 递交时间
- 2014-01-25 21:43:21
- 评测时间
- 2014-01-25 21:43:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes