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_33274356_18635.cpp: In function 'int f(int, int, int&, int&)':
0_0_33274356_18635.cpp:11:32: error: 'int f(int, int, int&, int&)' redeclared as different kind of symbol
 int f(int x,int y,int &f,int &c)
                                ^
0_0_33274356_18635.cpp:8:5: note: previous declaration 'int f [701][701]'
 int f[maxn][maxn];
     ^
0_0_33274356_18635.cpp: In function 'int main()':
0_0_33274356_18635.cpp:24:33: error: 'f' cannot be used as a function
            f(i,j,f[i][j],c[i][j]);
                                 ^
0_0_33274356_18635.cpp:27:24: error: 'n' was not declared in this scope
        scanf("%d%d%d",&n,&m,&p);
                        ^
0_0_33274356_18635.cpp:27:27: error: 'm' was not declared in this scope
        scanf("%d%d%d",&n,&m,&p);
                           ^
0_0_33274356_18635.cpp:27:30: error: 'p' was not declared in this scope
        scanf("%d%d%d",&n,&m,&p);
                              ^


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-23 02:40:17, Gzip enabled