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_37718658_6231.cpp: In function 'int main()':
0_0_37718658_6231.cpp:134:14: error: missing template arguments before 'vis'
       vector vis(n, vector<bool>(m, false)), f(n, vector<bool>(m, false));
              ^
0_0_37718658_6231.cpp:141:15: error: 'f' was not declared in this scope
               f[x][y] = true;
               ^
0_0_37718658_6231.cpp:147:9: error: 'f' was not declared in this scope
         f[i][0] = f[i][m - 1] = 1;
         ^
0_0_37718658_6231.cpp:150:9: error: 'f' was not declared in this scope
         f[0][i] = f[n - 1][i] = 1;
         ^
0_0_37718658_6231.cpp: In lambda function:
0_0_37718658_6231.cpp:156:13: error: 'vis' was not declared in this scope
         if (vis[x][y] || f[x][y]) {
             ^
0_0_37718658_6231.cpp:156:26: error: 'f' was not declared in this scope
         if (vis[x][y] || f[x][y]) {
                          ^
0_0_37718658_6231.cpp:162:9: error: 'vis' was not declared in this scope
         vis[x][y] = true;
         ^


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-30 07:39:23, Gzip enabled