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_38598533_31680.cpp:10:5: error: default argument missing for parameter 3 of 'p::p(double, double, int)'
     p(double a=0,double b=0,int c)
     ^
0_0_38598533_31680.cpp: In function 'std::vector<p> convex(std::vector<p>)':
0_0_38598533_31680.cpp:45:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     for(int i=0;i<len;i++)
                   ^~~
0_0_38598533_31680.cpp:52:18: error: invalid conversion from 'double (*)(p)' to 'int' [-fpermissive]
     for(int i=len-1;i>=0;i--)
               ~~~^~
0_0_38598533_31680.cpp: In function 'int main()':
0_0_38598533_31680.cpp:90:28: error: expected ']' before ')' token
             if(!vis[a[i].id)
                            ^
                            ]
0_0_38598533_31680.cpp:98:21: error: expected primary-expression before ')' token
                 for()
                     ^
0_0_38598533_31680.cpp:99:13: error: expected primary-expression before '}' token
             }
             ^
0_0_38598533_31680.cpp:98:22: error: expected ';' before '}' token
                 for()
                      ^
                      ;
             }
             ~         
0_0_38598533_31680.cpp:99:13: error: expected primary-expression before '}' token
             }
             ^
0_0_38598533_31680.cpp:98:22: error: expected ')' before '}' token
                 for()
                    ~ ^
                      )
             }
             ~         
0_0_38598533_31680.cpp:99:13: error: expected primary-expression before '}' token
             }
             ^
0_0_38598533_31680.cpp:104:28: error: expected ']' before ')' token
             if(!vis[a[i].id)
                            ^
                            ]


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-22 19:41:22, Gzip enabled