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_36353110_4795.cpp:5:1: error: expected initializer before 'int'
 int res[N][N];
 ^
0_0_36353110_4795.cpp: In function 'int main()':
0_0_36353110_4795.cpp:20:17: error: 'res' was not declared in this scope
     scanf("%d",&res[i][j]);
                 ^
0_0_36353110_4795.cpp:28:5: error: 'mp' was not declared in this scope
     mp[i][j] = (res[i][j] < res[i-1][j]);
     ^
0_0_36353110_4795.cpp:28:17: error: 'res' was not declared in this scope
     mp[i][j] = (res[i][j] < res[i-1][j]);
                 ^
0_0_36353110_4795.cpp:42:8: error: 'mp' was not declared in this scope
     if(mp[i][j] == 0 && mp[i][j-1] == 0)
        ^
0_0_36353110_4795.cpp:50:8: error: 'mp' was not declared in this scope
     if(mp[i][j] == 0 && mp[i][j+1] == 0)
        ^
0_0_36353110_4795.cpp:59:18: error: 'mp' was not declared in this scope
     if (i > 1 && mp[i][j] == 0 && mp[i - 1][j] == 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-10-01 15:17:02, Gzip enabled