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_38381208_32632.cpp: In function 'void calc(long long int)':
0_0_38381208_32632.cpp:43:19: error: 'all' was not declared in this scope
    for(int j=0;j<=all;j++){
                   ^
0_0_38381208_32632.cpp:49:17: error: 'all' was not declared in this scope
  for(int i=0;i<=all;i++)B[i]=0;
                 ^
0_0_38381208_32632.cpp: In function 'int main()':
0_0_38381208_32632.cpp:60:9: error: 'all' was not declared in this scope
   tot=0,all=(1ll<<k)-1;for(int i=1;i<=n;i++)head[i]=0,vis[i]=0,w[i]=read()-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-22 00:45:19, Gzip enabled