/ TYWZ /

记录详情

Compile Error

/in/foo.cc:5:21: error: array bound is not an integer constant before ']' token
 long long N,arr[maxn];
                     ^
/in/foo.cc:6:15: error: array bound is not an integer constant before ']' token
 bool map1[maxn];
               ^
/in/foo.cc: In function 'bool comp(long long int, long long int)':
/in/foo.cc:9:7: error: 'map1' was not declared in this scope
  if(!(map1[A]^map1[B])) return A < B;
       ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:3: error: 'map1' was not declared in this scope
   map1[m*m]=true;
   ^~~~
/in/foo.cc:23:17: error: 'arr' was not declared in this scope
   scanf("%lld",&arr[i]);
                 ^~~
/in/foo.cc:25:7: error: 'arr' was not declared in this scope
  sort(arr,arr+N,comp);
       ^~~

信息

递交者
类型
递交
题目
Basic STL II
语言
C++
递交时间
2019-01-24 23:13:49
评测时间
2019-01-24 23:13:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes