0_0_20934841_28072.cpp:15:24: error: stray '#' in program
const int maxn = 1000 + 5;
^
0_0_20934841_28072.cpp:17:23: error: stray '#' in program
const int maxc = 100 + 5;
^
0_0_20934841_28072.cpp:43:36: error: stray '#' in program
if(gas < c && vis[pos][gas+1] == 0){
^
0_0_20934841_28072.cpp:44:30: error: stray '#' in program
Q.push(P(-(price+p[pos]),PP(pos,gas+1)));
^
0_0_20934841_28072.cpp:44:53: error: stray '#' in program
Q.push(P(-(price+p[pos]),PP(pos,gas+1)));
^
0_0_20934841_28072.cpp:46:43: error: stray '#' in program
for(int i = 0;i < G[pos].size();i++){
^
0_0_20934841_28072.cpp:46:48: error: stray '#' in program
for(int i = 0;i < G[pos].size();i++){
^
0_0_20934841_28072.cpp:60:31: error: stray '#' in program
for(int i = 0;i < n;i++) scanf("%d",&p[i]);
^
0_0_20934841_28072.cpp:60:36: error: stray '#' in program
for(int i = 0;i < n;i++) scanf("%d",&p[i]);
^
0_0_20934841_28072.cpp:61:31: error: stray '#' in program
for(int i = 0;i < n;i++) G[i].clear();
^
0_0_20934841_28072.cpp:61:36: error: stray '#' in program
for(int i = 0;i < n;i++) G[i].clear();
^
0_0_20934841_28072.cpp:62:31: error: stray '#' in program
for(int i = 0;i < m;i++){
^
0_0_20934841_28072.cpp:62:36: error: stray '#' in program
for(int i = 0;i < m;i++){
^
0_0_20934841_28072.cpp:15:29: error: expected unqualified-id before numeric constant
const int maxn = 1000 + 5;
^
0_0_20934841_28072.cpp:17:28: error: expected unqualified-id before numeric constant
const int maxc = 100 + 5;
^
0_0_20934841_28072.cpp: In function 'int bfs()':
0_0_20934841_28072.cpp:43:39: error: expected ']' before ';' token
if(gas < c && vis[pos][gas+1] == 0){
^
0_0_20934841_28072.cpp:43:39: error: expected ')' before ';' token
0_0_20934841_28072.cpp:43:41: error: expected ';' before ']' token
if(gas < c && vis[pos][gas+1] == 0){
^
0_0_20934841_28072.cpp:46:46: error: expected ')' before ';' token
for(int i = 0;i < G[pos].size();i++){
^
0_0_20934841_28072.cpp:46:49: error: lvalue required as unary '&' operand
for(int i = 0;i < G[pos].size();i++){
^
0_0_20934841_28072.cpp:46:52: error: expected primary-expression before ')' token
for(int i = 0;i < G[pos].size();i++){
^
0_0_20934841_28072.cpp: In function 'int main()':
0_0_20934841_28072.cpp:60:34: error: expected ')' before ';' token
for(int i = 0;i < n;i++) scanf("%d",&p[i]);
^
0_0_20934841_28072.cpp:60:37: error: lvalue required as unary '&' operand
for(int i = 0;i < n;i++) scanf("%d",&p[i]);
^
0_0_20934841_28072.cpp:60:40: error: expected primary-expression before ')' token
for(int i = 0;i < n;i++) scanf("%d",&p[i]);
^
0_0_20934841_28072.cpp:61:34: error: expected ')' before ';' token
for(int i = 0;i < n;i++) G[i].clear();
^
0_0_20934841_28072.cpp:61:37: error: lvalue required as unary '&' operand
for(int i = 0;i < n;i++) G[i].clear();
^
0_0_20934841_28072.cpp:61:40: error: expected primary-expression before ')' token
for(int i = 0;i < n;i++) G[i].clear();
^
0_0_20934841_28072.cpp:62:34: error: expected ')' before ';' token
for(int i = 0;i < m;i++){
^
0_0_20934841_28072.cpp:62:37: error: lvalue required as unary '&' operand
for(int i = 0;i < m;i++){
^
0_0_20934841_28072.cpp:62:40: error: expected primary-expression before ')' token
for(int i = 0;i < m;i++){
^
|