记录详情

Compile Error

foo.cc:94:55: error: stray '\357' in program
  for(int i=1;i<=n;i++) a[i] = (s[i-1] == '(' ? 1 : -1);
                                                       ^
foo.cc:94:56: error: stray '\274' in program
  for(int i=1;i<=n;i++) a[i] = (s[i-1] == '(' ? 1 : -1);
                                                        ^
foo.cc:94:57: error: stray '\233' in program
  for(int i=1;i<=n;i++) a[i] = (s[i-1] == '(' ? 1 : -1);
                                                         ^
foo.cc:38:48: error: 'intr' has not been declared
     void build(int a[], int n, int now, int l, intr)
                                                ^~~~
foo.cc: In member function 'void Segment_Tree::build(int*, int, int, int, int)':
foo.cc:40:17: error: 'r' was not declared in this scope
         if(l == r)
                 ^
foo.cc:45:22: error: 'r' was not declared in this scope
         int mid = (l+r)/2;
                      ^
foo.cc: In function 'int main()':
foo.cc:95:2: error: expected ';' before 'T'
  T.build(a, n, 1, 1, n);
  ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1300 I. RBS Checking
语言
C++
递交时间
2021-11-09 16:39:19
评测时间
2021-11-09 16:39:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes