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_23601911_18038.cpp: In function 'void getmap()':
0_0_23601911_18038.cpp:2:24: error: 'n' was not declared in this scope
     for(int i = 0; i < n; ++i){
                        ^
0_0_23601911_18038.cpp:3:28: error: 'm' was not declared in this scope
         for(int j = 0; j < m; ++j)
                            ^
0_0_23601911_18038.cpp:4:16: error: 'str' was not declared in this scope
             if(str[i][j] == '*')
                ^
0_0_23601911_18038.cpp:5:13: error: 'map' was not declared in this scope
             map[x[i][j]][y[i][j]] = 1;
             ^
0_0_23601911_18038.cpp:5:17: error: 'x' was not declared in this scope
             map[x[i][j]][y[i][j]] = 1;
                 ^
0_0_23601911_18038.cpp:5:26: error: 'y' was not declared in this scope
             map[x[i][j]][y[i][j]] = 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-06-29 04:04:48, Gzip enabled