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_21826890_29125.cpp:7:37: error: 'maxn2' was not declared in this scope
 struct mat{int x[3][3];}m0,m1,ans,a[maxn2+10];
                                     ^
0_0_21826890_29125.cpp: In function 'void build(int, int, int)':
0_0_21826890_29125.cpp:35:3: error: 'a' was not declared in this scope
   a[i]=(s[l-1]=='0')?m0:m1;
   ^
0_0_21826890_29125.cpp:41:2: error: 'a' was not declared in this scope
  a[i]=mul(a[i*2],a[i*2+1]);
  ^
0_0_21826890_29125.cpp: In function 'void pushdown(int)':
0_0_21826890_29125.cpp:50:10: error: 'a' was not declared in this scope
   change(a[i*2]);
          ^
0_0_21826890_29125.cpp: In function 'void rev(int, int, int)':
0_0_21826890_29125.cpp:61:10: error: 'a' was not declared in this scope
   change(a[i]);
          ^
0_0_21826890_29125.cpp:73:2: error: 'a' was not declared in this scope
  a[i]=mul(a[i*2],a[i*2+1]);
  ^
0_0_21826890_29125.cpp: In function 'mat ask(int, int, int)':
0_0_21826890_29125.cpp:78:33: error: 'a' was not declared in this scope
  if(t[i].l==l&&t[i].r==r)return a[i];
                                 ^


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-26 10:10:38, Gzip enabled