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_37499712_13182.cpp: In function 'std::pair<int, point<long double> > intersect_line(const line<fint>&, const line<fint>&)':
0_0_37499712_13182.cpp:192:17: error: expected unqualified-id before '[' token
     const auto& [A,B]=l1; const auto& [C,D]=l2;
                 ^
0_0_37499712_13182.cpp:192:17: error: expected initializer before '[' token
0_0_37499712_13182.cpp:192:39: error: expected unqualified-id before '[' token
     const auto& [A,B]=l1; const auto& [C,D]=l2;
                                       ^
0_0_37499712_13182.cpp:192:39: error: expected initializer before '[' token
0_0_37499712_13182.cpp:193:13: error: 'B' was not declared in this scope
     fint A1=B.y-A.y,A2=D.y-C.y;
             ^
0_0_37499712_13182.cpp:193:17: error: 'A' was not declared in this scope
     fint A1=B.y-A.y,A2=D.y-C.y;
                 ^
0_0_37499712_13182.cpp:195:30: error: 'A2' was not declared in this scope
     fint C1=A1*A.x+B1*A.y,C2=A2*C.x+B2*C.y;
                              ^
0_0_37499712_13182.cpp:195:33: error: 'C' was not declared in this scope
     fint C1=A1*A.x+B1*A.y,C2=A2*C.x+B2*C.y;
                                 ^
0_0_37499712_13182.cpp:195:37: error: 'B2' was not declared in this scope
     fint C1=A1*A.x+B1*A.y,C2=A2*C.x+B2*C.y;
                                     ^
0_0_37499712_13182.cpp: In function 'int main()':
0_0_37499712_13182.cpp:281:18: error: expected unqualified-id before '[' token
         for(auto&[x,y]:A) std::cin>>x>>y;
                  ^
0_0_37499712_13182.cpp:281:18: error: expected ';' before '[' token
0_0_37499712_13182.cpp:281:19: error: 'x' was not declared in this scope
         for(auto&[x,y]:A) std::cin>>x>>y;
                   ^
0_0_37499712_13182.cpp:281:21: error: 'y' was not declared in this scope
         for(auto&[x,y]:A) std::cin>>x>>y;
                     ^
0_0_37499712_13182.cpp: In lambda function:
0_0_37499712_13182.cpp:281:23: error: expected '{' before ':' token
         for(auto&[x,y]:A) std::cin>>x>>y;
                       ^
0_0_37499712_13182.cpp: In function 'int main()':
0_0_37499712_13182.cpp:281:23: error: expected ';' before ':' token
0_0_37499712_13182.cpp:281:23: error: expected primary-expression before ':' token
0_0_37499712_13182.cpp:281:23: error: expected ')' before ':' token
0_0_37499712_13182.cpp:281:23: error: expected primary-expression before ':' token


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-28 20:06:42, Gzip enabled