| ||||||||||
| 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 | |||||||||
害怕精度出问题,没敢用power或者log函数动手写了一个分解整数求最大公因数的程序,结果一直TLE……
然后加了一句if (x==(1<<31)) { printf("31\n"); continue;}就AC了……
这数据太贱了……不仅有负数还有INT_MIN!!~
被坑了TAT~
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator