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_16743764_12283.cpp: In function 'void build(int, int, int)':
0_0_16743764_12283.cpp:36:15: error: invalid types 'int[int]' for array subscript
  M[ind].lazy[0] = 0,M[ind].lazy[1] = 0;
               ^
0_0_16743764_12283.cpp:36:34: error: invalid types 'int[int]' for array subscript
  M[ind].lazy[0] = 0,M[ind].lazy[1] = 0;
                                  ^
0_0_16743764_12283.cpp:37:18: error: invalid types 'int[int]' for array subscript
     M[ind].lazy[2] = 0;
                  ^
0_0_16743764_12283.cpp: In function 'void push_down(int)':
0_0_16743764_12283.cpp:46:21: error: invalid types 'int[int]' for array subscript
     if(M[ind].lazy[2])//cl
                     ^
0_0_16743764_12283.cpp:48:27: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[2] = M[ind << 1 | 1].lazy[2] = 1;
                           ^
0_0_16743764_12283.cpp:48:53: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[2] = M[ind << 1 | 1].lazy[2] = 1;
                                                     ^
0_0_16743764_12283.cpp:49:22: error: invalid types 'int[int]' for array subscript
         M[ind].lazy[1] = 0,M[ind].lazy[0] = 0;
                      ^
0_0_16743764_12283.cpp:49:41: error: invalid types 'int[int]' for array subscript
         M[ind].lazy[1] = 0,M[ind].lazy[0] = 0;
                                         ^
0_0_16743764_12283.cpp:51:22: error: invalid types 'int[int]' for array subscript
         M[ind].lazy[2] = 0;
                      ^
0_0_16743764_12283.cpp:53:26: error: invalid types 'int[int]' for array subscript
     else if(M[ind].lazy[1])//ns
                          ^
0_0_16743764_12283.cpp:55:27: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[1] = M[ind << 1 | 1].lazy[1] = M[ind].lazy[1];
                           ^
0_0_16743764_12283.cpp:55:53: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[1] = M[ind << 1 | 1].lazy[1] = M[ind].lazy[1];
                                                     ^
0_0_16743764_12283.cpp:55:70: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[1] = M[ind << 1 | 1].lazy[1] = M[ind].lazy[1];
                                                                      ^
0_0_16743764_12283.cpp:57:22: error: invalid types 'int[int]' for array subscript
         M[ind].lazy[0] = 0;M[ind].ds = 0;
                      ^
0_0_16743764_12283.cpp:58:22: error: invalid types 'int[int]' for array subscript
         M[ind].lazy[1] = 0;
                      ^
0_0_16743764_12283.cpp:60:26: error: invalid types 'int[int]' for array subscript
     else if(M[ind].lazy[0])//ds
                          ^
0_0_16743764_12283.cpp:62:27: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[0] = M[ind << 1 | 1].lazy[0] = M[ind].lazy[0];
                           ^
0_0_16743764_12283.cpp:62:53: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[0] = M[ind << 1 | 1].lazy[0] = M[ind].lazy[0];
                                                     ^
0_0_16743764_12283.cpp:62:70: error: invalid types 'int[int]' for array subscript
         M[ind << 1].lazy[0] = M[ind << 1 | 1].lazy[0] = M[ind].lazy[0];
                                                                      ^
0_0_16743764_12283.cpp:64:16: error: invalid types 'int[int]' for array subscript
   M[ind].lazy[0] = 0;
                ^
0_0_16743764_12283.cpp: In function 'void update(int, int, int, int)':
0_0_16743764_12283.cpp:79:19: error: invalid types 'int[int]' for array subscript
   M[ind].lazy[type] = 1;
                   ^


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-16 14:26:51, Gzip enabled