0_0_14484868_32300.cpp:199:6: error: expected unqualified-id before 'not' token
bool not[MAXE];
^
0_0_14484868_32300.cpp: In function 'int dijstra(int, int, int, bool)':
0_0_14484868_32300.cpp:215:23: error: expected ',' before '-' token
if ((flag || !not[i - g.e]) && checkmin(dist[i->v], dist[i->u] + i->w)){
^
0_0_14484868_32300.cpp:215:23: error: expected identifier before '-' token
0_0_14484868_32300.cpp: In lambda function:
0_0_14484868_32300.cpp:215:29: error: expected '{' before ')' token
if ((flag || !not[i - g.e]) && checkmin(dist[i->v], dist[i->u] + i->w)){
^
0_0_14484868_32300.cpp: In function 'int dijstra(int, int, int, bool)':
0_0_14484868_32300.cpp:215:17: error: no match for 'operator!' (operand type is 'dijstra(int, int, int, bool)::<lambda()>')
if ((flag || !not[i - g.e]) && checkmin(dist[i->v], dist[i->u] + i->w)){
^
0_0_14484868_32300.cpp:215:17: note: candidate is:
0_0_14484868_32300.cpp:215:17: note: operator!(bool) <built-in>
0_0_14484868_32300.cpp:215:17: note: no known conversion for argument 1 from 'dijstra(int, int, int, bool)::<lambda()>' to 'bool'
0_0_14484868_32300.cpp: In function 'int main()':
0_0_14484868_32300.cpp:243:11: error: expected ',' before '[' token
not[rec[i] - g.e] = true;
^
0_0_14484868_32300.cpp:243:11: error: expected identifier before '[' token
0_0_14484868_32300.cpp: In lambda function:
0_0_14484868_32300.cpp:243:22: error: expected '{' before '=' token
not[rec[i] - g.e] = true;
^
0_0_14484868_32300.cpp: In function 'int main()':
0_0_14484868_32300.cpp:243:22: error: lvalue required as left operand of assignment
0_0_14484868_32300.cpp:244:8: error: expected identifier before '(' token
not[(rec[i] - g.e)^1] = true;
^
0_0_14484868_32300.cpp: In lambda function:
0_0_14484868_32300.cpp:244:26: error: expected '{' before '=' token
not[(rec[i] - g.e)^1] = true;
^
0_0_14484868_32300.cpp: In function 'int main()':
0_0_14484868_32300.cpp:244:26: error: lvalue required as left operand of assignment
0_0_14484868_32300.cpp:246:11: error: expected ',' before '[' token
not[rec[i] - g.e] = false;
^
0_0_14484868_32300.cpp:246:11: error: expected identifier before '[' token
0_0_14484868_32300.cpp: In lambda function:
0_0_14484868_32300.cpp:246:22: error: expected '{' before '=' token
not[rec[i] - g.e] = false;
^
0_0_14484868_32300.cpp: In function 'int main()':
0_0_14484868_32300.cpp:246:22: error: lvalue required as left operand of assignment
0_0_14484868_32300.cpp:247:8: error: expected identifier before '(' token
not[(rec[i] - g.e) ^ 1] = false;
^
0_0_14484868_32300.cpp: In lambda function:
0_0_14484868_32300.cpp:247:28: error: expected '{' before '=' token
not[(rec[i] - g.e) ^ 1] = false;
^
0_0_14484868_32300.cpp: In function 'int main()':
0_0_14484868_32300.cpp:247:28: error: lvalue required as left operand of assignment
|