bottle.cpp: In function ‘int getDis(int, int)’:
bottle.cpp:33:6: error: ‘queue’ was not declared in this scope
std:queue<Coor2> Q;
^
bottle.cpp:33:6: note: suggested alternative:
In file included from /usr/include/c++/4.9/queue:64:0,
from bottle.cpp:2:
/usr/include/c++/4.9/bits/stl_queue.h:96:11: note: ‘std::queue’
class queue
^
bottle.cpp:33:17: error: expected primary-expression before ‘>’ token
std:queue<Coor2> Q;
^
bottle.cpp:33:19: error: ‘Q’ was not declared in this scope
std:queue<Coor2> Q;
^
bottle.cpp:33:2: warning: label ‘std’ defined but not used [-Wunused-label]
std:queue<Coor2> Q;
^
bottle.cpp: In function ‘int main()’:
bottle.cpp:72:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&h,&w,&p,&q);
^
bottle.cpp:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a[i]);
^
bottle.cpp:82:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
bottle.cpp:89:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&s,&t);
^