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_26387371_11258.cpp:19:1: error: 'uint' does not name a type
 uint f[1<<N],g[1<<N],pwr[1<<N];
 ^
0_0_26387371_11258.cpp: In function 'int main()':
0_0_26387371_11258.cpp:28:3: error: 'uint' was not declared in this scope
   uint ans=0;
   ^
0_0_26387371_11258.cpp:29:22: error: 'pwr' was not declared in this scope
   for(register int i=pwr[0]=1;i<1<<n;i++) {
                      ^
0_0_26387371_11258.cpp:31:5: error: 'f' was not declared in this scope
     f[i]=1;
     ^
0_0_26387371_11258.cpp:33:21: error: 'g' was not declared in this scope
      if(getdigit()) g[i]|=1<<j;
                     ^
0_0_26387371_11258.cpp:37:5: error: 'f' was not declared in this scope
     f[i]=INT_MAX;
     ^
0_0_26387371_11258.cpp:39:5: error: 'g' was not declared in this scope
     g[i]=g[i^lb]|g[lb];
     ^
0_0_26387371_11258.cpp:50:4: error: 'ans' was not declared in this scope
    ans+=f[i]*pwr[i];
    ^
0_0_26387371_11258.cpp:50:9: error: 'f' was not declared in this scope
    ans+=f[i]*pwr[i];
         ^
0_0_26387371_11258.cpp:52:17: error: 'ans' was not declared in this scope
   printf("%u\n",ans);
                 ^


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-09-29 02:14:53, Gzip enabled