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_31708547_5721.cpp: In function 'void bfs(int, int)':
0_0_31708547_5721.cpp:38:18: error: 'mp' was not declared in this scope
     q.push(mp(x,y));
                  ^
0_0_31708547_5721.cpp:41:9: error: 'pii' was not declared in this scope
         pii tmp=q.front();
         ^
0_0_31708547_5721.cpp:43:16: error: 'tmp' was not declared in this scope
         if(vis[tmp.first][tmp.second]) continue;
                ^
0_0_31708547_5721.cpp:44:13: error: 'tmp' was not declared in this scope
         vis[tmp.first][tmp.second]=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-29 00:42:47, Gzip enabled