记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:9:6: error: redeclaration of 'int cnt'
  int cnt=0;
      ^~~
foo.cc:7:10: note: 'int cnt' previously declared here
  int a,b,cnt;
          ^~~
foo.cc:16:14: error: 'k' was not declared in this scope
    if(xx%10==k)
              ^

信息

递交者
类型
递交
题目
P1211 C5 页码中有多少个k
语言
C++
递交时间
2021-02-01 12:29:44
评测时间
2021-02-01 12:29:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes