F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39461818_7328.c:2:10: error: expected ';' before 'int'
    2 | constexpr int N = 100005, TC = N * 20;
      |          ^~~~
      |          ;
0_0_39461818_7328.c:2:32: error: initializer element is not constant
    2 | constexpr int N = 100005, TC = N * 20;
      |                                ^
0_0_39461818_7328.c:5:5: error: variably modified 'sa' at file scope
    5 | int sa[N], ra[N], ht[N];
      |     ^~
0_0_39461818_7328.c:5:12: error: variably modified 'ra' at file scope
    5 | int sa[N], ra[N], ht[N];
      |            ^~
0_0_39461818_7328.c:5:19: error: variably modified 'ht' at file scope
    5 | int sa[N], ra[N], ht[N];
      |                   ^~
0_0_39461818_7328.c:6:6: error: variably modified 'str' at file scope
    6 | char str[N];
      |      ^~~
0_0_39461818_7328.c: In function 'SA':
0_0_39461818_7328.c:9:23: error: storage size of 'c' isn't constant
    9 |         static int m, c[N], fir[N], sec[N], sz;
      |                       ^
0_0_39461818_7328.c:9:29: error: storage size of 'fir' isn't constant
    9 |         static int m, c[N], fir[N], sec[N], sz;
      |                             ^~~
0_0_39461818_7328.c:9:37: error: storage size of 'sec' isn't constant
    9 |         static int m, c[N], fir[N], sec[N], sz;
      |                                     ^~~
0_0_39461818_7328.c: At top level:
0_0_39461818_7328.c:53:5: error: variably modified 'f' at file scope
   53 | int f[20][N], wg[N];
      |     ^
0_0_39461818_7328.c:53:15: error: variably modified 'wg' at file scope
   53 | int f[20][N], wg[N];
      |               ^~
0_0_39461818_7328.c:74:3: error: variably modified 'tr' at file scope
   74 | } tr[TC];
      |   ^~
0_0_39461818_7328.c:75:5: error: variably modified 'rt' at file scope
   75 | int rt[N], ids;
      |     ^~
0_0_39461818_7328.c:77:14: error: expected ';', ',' or ')' before '&' token
   77 | void exv(int &z, int x, int l = 1, int r = n) {
      |              ^
0_0_39461818_7328.c:89:16: error: expected ';', ',' or ')' before '&' token
   89 | void merge(int &y, int x, int l = 1, int r = n) {
      |                ^
0_0_39461818_7328.c:113:38: error: expected ';', ',' or ')' before '=' token
  113 | int query(int y, int x, int c, int l = 1, int r = n) {
      |                                      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-20 21:33:08, Gzip enabled