Compile Error
foo.cc: In function ‘int countTotalCircles(std::string)’: foo.cc:44:9: error: expected ‘,’ or ‘;’ before ‘for(int’ 44 | for(int i=0;i<num.length();i++) cnt += countCircles(num[i]); | ^~~~~~~~ foo.cc:44:22: error: ‘i’ was not declared in this scope 44 | for(int i=0;i<num.length();i++) cnt += countCircles(num[i]); | ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1575 Problem 3A. 数圈圈
- 语言
- C++
- 递交时间
- 2024-05-04 13:29:45
- 评测时间
- 2024-05-04 13:29:45
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes