Compile Error
foo.cpp: In function 'int main()': foo.cpp:15:7: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto appleHeight : applesHeight) ^ foo.cpp:15:12: error: 'appleHeight' does not name a type for (auto appleHeight : applesHeight) ^ foo.cpp:22:2: error: expected ';' before 'cout' cout << count << endl; ^ foo.cpp:23:2: error: expected primary-expression before 'return' return 0; ^ foo.cpp:23:2: error: expected ')' before 'return'
信息
- 递交者
- 类型
- 递交
- 题目
- P1102 陶陶摘苹果
- 语言
- C++
- 递交时间
- 2015-02-28 16:11:02
- 评测时间
- 2015-02-28 16:11:03
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes