| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
我这样写A了?G++In Reply To:Re:内详 Posted by:Bark at 2008-01-31 17:27:34 难道是poj换机器/编译器?
inline bool cmp(Point a,Point b)
{
if (a.x==b.x)
{
return a.y<b.y;
}
else
{
return a.x<b.x;
}
}
> 同样是
>
> if(a.x == b.x) return a.y < b.y;
> return a.x < b.x;
>
> 用sort TLE
> 自己写qsort就过了
>
> 诡异
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator