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_23565589_21277.cpp: In function 'void f(int, int, int)':
0_0_23565589_21277.cpp:6:29: error: 'void f(int, int, int)' redeclared as different kind of symbol
 void f (int i,int s1,int pos)
                             ^
0_0_23565589_21277.cpp:4:11: note: previous declaration 'long long int f [30][4096]'
 long long f[30][1<<12],i,j,n,m,x=1;
           ^
0_0_23565589_21277.cpp:13:17: error: 'f' cannot be used as a function
     f(i,s1,pos+1);
                 ^
0_0_23565589_21277.cpp:15:31: error: 'f' cannot be used as a function
   f(i,s1|1<<pos|1<<pos+1,pos+2);
                               ^
0_0_23565589_21277.cpp: In function 'int main()':
0_0_23565589_21277.cpp:24:15: error: 'f' cannot be used as a function
        f(1,0,0);
               ^
0_0_23565589_21277.cpp:30:33: error: 'f' cannot be used as a function
              f(i,~j&((1<<m)-1),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-07-18 00:07:05, Gzip enabled