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_16890987_24840.cpp:54:32: error: invalid types 'int[int]' for array subscript
 int to[266666][11],ot[266666[11],ed[11];
                                ^
0_0_16890987_24840.cpp:54:33: error: expected ']' before ',' token
 int to[266666][11],ot[266666[11],ed[11];
                                 ^
0_0_16890987_24840.cpp: In function 'void tb(int, int, int)':
0_0_16890987_24840.cpp:70:27: error: 'ot' was not declared in this scope
  if(l!=r)for(i=0;i<=W;i++)ot[k][i]=++id;
                           ^
0_0_16890987_24840.cpp:71:24: error: 'ot' was not declared in this scope
  else for(i=0;i<=W;i++)ot[k][i]=to[k][i];
                        ^
0_0_16890987_24840.cpp:75:23: error: 'ot' was not declared in this scope
  for(i=0;i<=W;i++)ins(ot[k<<1][i],ot[k][i],0),ins(ot[k<<1|1][i],ot[k][i],0);
                       ^
0_0_16890987_24840.cpp: In function 'void cha(int, int, int, int, int, int, int)':
0_0_16890987_24840.cpp:82:7: error: 'ot' was not declared in this scope
   ins(ot[k][i],z,0);
       ^


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-12-02 11:52:40, Gzip enabled