Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:10: error: 'k' was not declared in this scope
          k++
          ^
/in/foo.cc:16:11: error: 'k' was not declared in this scope
        if(k==0)
           ^
/in/foo.cc:19:9: error: 'count' was not declared in this scope
         count++;
         ^~~~~
/in/foo.cc:8:11: warning: unused variable 'K' [-Wunused-variable]
       int K=0;
           ^
/in/foo.cc:22:9: error: 'count' was not declared in this scope
      if(count%5==0)
         ^~~~~

信息

递交者
类型
递交
题目
P1044 所有的素数
语言
C++
递交时间
2021-12-18 08:55:41
评测时间
2021-12-18 08:55:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes