记录详情

Compile Error

/in/foo.cc:44:5: error: stray '\357' in program
  for(int i=0;i<num.length();i++) cnt += countCircles(num[i]);
     ^
/in/foo.cc:44:6: error: stray '\274' in program
  for(int i=0;i<num.length();i++) cnt += countCircles(num[i]);
      ^
/in/foo.cc:44:7: error: stray '\210' in program
  for(int i=0;i<num.length();i++) cnt += countCircles(num[i]);
       ^
/in/foo.cc: In function 'int countTotalCircles(std::__cxx11::string)':
/in/foo.cc:44:2: error: expected ',' or ';' before 'for'
  for(int i=0;i<num.length();i++) cnt += countCircles(num[i]);
  ^~~
/in/foo.cc:44:16: error: 'i' was not declared in this scope
  for(int i=0;i<num.length();i++) cnt += countCircles(num[i]);
                ^

信息

递交者
类型
自测
题目
P1575 Problem 3A. 数圈圈
语言
C++
递交时间
2024-05-04 13:29:44
评测时间
2024-05-04 13:29:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes