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_20910088_9382.cpp:6:18: error: 'maxn' was not declared in this scope
 int tr[maxm],phi[maxn],tag[maxm],A[maxm];
                  ^
0_0_20910088_9382.cpp: In function 'void make_phi(int, int, int, int, int)':
0_0_20910088_9382.cpp:37:38: error: 'phi' was not declared in this scope
  if(l >= L && r <= R) return tr[x] = phi[tr[x]],tag[x] = tr[x],void();
                                      ^
0_0_20910088_9382.cpp:37:69: error: return-statement with a value, in function returning 'void' [-fpermissive]
  if(l >= L && r <= R) return tr[x] = phi[tr[x]],tag[x] = tr[x],void();
                                                                     ^
0_0_20910088_9382.cpp: In function 'void init()':
0_0_20910088_9382.cpp:55:2: error: 'phi' was not declared in this scope
  phi[1] = 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-12-28 04:01:30, Gzip enabled