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_36651883_18756.cpp: In function 'void solve()':
0_0_36651883_18756.cpp:8:10: error: 'n' was not declared in this scope
     cin>>n;
          ^
0_0_36651883_18756.cpp:12:13: error: 'mp' was not declared in this scope
             mp[x][--y]+=1;
             ^
0_0_36651883_18756.cpp:12:16: error: 'x' was not declared in this scope
             mp[x][--y]+=1;
                ^
0_0_36651883_18756.cpp:12:21: error: 'y' was not declared in this scope
             mp[x][--y]+=1;
                     ^
0_0_36651883_18756.cpp:15:13: error: 'mp' was not declared in this scope
             mp[x][++y]+=1;
             ^
0_0_36651883_18756.cpp:15:16: error: 'x' was not declared in this scope
             mp[x][++y]+=1;
                ^
0_0_36651883_18756.cpp:15:21: error: 'y' was not declared in this scope
             mp[x][++y]+=1;
                     ^
0_0_36651883_18756.cpp:18:13: error: 'mp' was not declared in this scope
             mp[++x][y]+=1;
             ^
0_0_36651883_18756.cpp:18:18: error: 'x' was not declared in this scope
             mp[++x][y]+=1;
                  ^
0_0_36651883_18756.cpp:18:21: error: 'y' was not declared in this scope
             mp[++x][y]+=1;
                     ^
0_0_36651883_18756.cpp:21:13: error: 'mp' was not declared in this scope
             mp[--x][y]+=1;
             ^
0_0_36651883_18756.cpp:21:18: error: 'x' was not declared in this scope
             mp[--x][y]+=1;
                  ^
0_0_36651883_18756.cpp:21:21: error: 'y' was not declared in this scope
             mp[--x][y]+=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-11-11 02:31:16, Gzip enabled