记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:8: error: 'N' was not declared in this scope
  int a[N],b[N];
        ^
/in/foo.cc:33:8: error: 'a' was not declared in this scope
   cin>>a[i];
        ^
/in/foo.cc:35:8: error: 'b' was not declared in this scope
   cin>>b[i];
        ^
/in/foo.cc:36:19: error: 'a' was not declared in this scope
  cout<<PrimeCount(a, n1)<<" ";
                   ^
/in/foo.cc:37:19: error: 'b' was not declared in this scope
  cout<<PrimeCount(b, n2)<<endl;
                   ^

信息

递交者
类型
递交
题目
A9-1 数组中的素数个数
比赛
泰院2401程序设计基础作业赛第五场
语言
C++
递交时间
2024-11-18 16:37:39
评测时间
2024-11-18 16:37:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes