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_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


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-26 07:56:59, Gzip enabled