记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:5: error: 'count' was not declared in this scope
     count++;
     ^~~~~
/in/foo.cc:16:5: error: 'count' was not declared in this scope
     count++;
     ^~~~~
/in/foo.cc:19:1: error: expected primary-expression before '}' token
 }
 ^
/in/foo.cc:25:1: error: expected '}' at end of input
 }
 ^
/in/foo.cc:7:15: warning: unused variable 'countt' [-Wunused-variable]
  int a, b, c, countt = 0;
               ^~~~~~
/in/foo.cc:25:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
p1013 求不及格的课程数(p63页实例2)
语言
C++
递交时间
2021-11-19 23:02:50
评测时间
2021-11-19 23:02:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes