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_21828918_28095.cpp:25:15: error: expected primary-expression before ';' token
 const int M = ;
               ^
0_0_21828918_28095.cpp:27:14: error: size of array 'm' is not an integral constant-expression
     LL m[M][M];
              ^
0_0_21828918_28095.cpp:27:14: error: size of array 'm' is not an integral constant-expression
0_0_21828918_28095.cpp: In function 'void pushdown(int)':
0_0_21828918_28095.cpp:59:22: error: expected ';' before ']' token
         mat[rt<<1]   ]]];
                      ^
0_0_21828918_28095.cpp:60:22: error: expected ';' before ']' token
         mat[rt<<1|1] ]]];
                      ^
0_0_21828918_28095.cpp: In function 'void build(int, int, int)':
0_0_21828918_28095.cpp:72:23: error: 'm' was not declared in this scope
     build(rt<<1  ,l  ,m);
                       ^
0_0_21828918_28095.cpp: At global scope:
0_0_21828918_28095.cpp:76:27: error: 'itn' has not been declared
 void reverse(int rt,int l,itn r,int L,int R){
                           ^
0_0_21828918_28095.cpp: In function 'void reverse(int, int, int, int, int)':
0_0_21828918_28095.cpp:85:14: error: 'update' was not declared in this scope
     update(rt);
              ^
0_0_21828918_28095.cpp: At global scope:
0_0_21828918_28095.cpp:88:14: error: 'inr' was not declared in this scope
 Matrix query(inr rt,int l,int r,int L,int R){
              ^
0_0_21828918_28095.cpp:88:21: error: expected primary-expression before 'int'
 Matrix query(inr rt,int l,int r,int L,int R){
                     ^
0_0_21828918_28095.cpp:88:27: error: expected primary-expression before 'int'
 Matrix query(inr rt,int l,int r,int L,int R){
                           ^
0_0_21828918_28095.cpp:88:33: error: expected primary-expression before 'int'
 Matrix query(inr rt,int l,int r,int L,int R){
                                 ^
0_0_21828918_28095.cpp:88:39: error: expected primary-expression before 'int'
 Matrix query(inr rt,int l,int r,int L,int R){
                                       ^
0_0_21828918_28095.cpp:88:45: error: expected ',' or ';' before '{' token
 Matrix query(inr rt,int l,int r,int L,int R){
                                             ^
0_0_21828918_28095.cpp: In function 'int main()':
0_0_21828918_28095.cpp:101:23: error: 'n' was not declared in this scope
         scanf("%d%d",&n,&m);
                       ^
0_0_21828918_28095.cpp:101:26: error: 'm' was not declared in this scope
         scanf("%d%d",&n,&m);
                          ^
0_0_21828918_28095.cpp:112:32: error: expected primary-expression before ')' token
                 printf("%d\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-11-23 00:57:27, Gzip enabled