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_38802935_4108.cpp: In function 'void go()':
0_0_38802935_4108.cpp:142:30: error: expected ';' before 'vector'
  142 |                 read(n,aa,bb)
      |                              ^
      |                              ;
  143 |                 vector<PLL > a,b;
      |                 ~~~~~~        
0_0_38802935_4108.cpp:147:25: error: 'a' was not declared in this scope
  147 |                         a.pb(MP(aa*x*x,i));
      |                         ^
0_0_38802935_4108.cpp:148:25: error: 'b' was not declared in this scope
  148 |                         b.pb(MP(bb*x,i));
      |                         ^
0_0_38802935_4108.cpp:150:26: error: 'a' was not declared in this scope
  150 |                 sort(all(a));
      |                          ^
0_0_38802935_4108.cpp:90:16: note: in definition of macro 'all'
   90 | #define all(x) x.begin(),x.end()
      |                ^
0_0_38802935_4108.cpp:151:26: error: 'b' was not declared in this scope
  151 |                 sort(all(b));
      |                          ^
0_0_38802935_4108.cpp:90:16: note: in definition of macro 'all'
   90 | #define all(x) x.begin(),x.end()
      |                ^


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-23 06:32:36, Gzip enabled