| ||||||||||
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 |
这道题WA了N久,后来自己发现了一点小细节问题,纪念一下主要是对于 方程a1*x+b1*y=c1 a2*x+b2*y=c2; if(a1*b2==a2*b1) { if(a1*c2==a2*c1&&b1*c2==b2*c1)//问题就出在这,我只写了a1*c2==a2*c1 WA我N次呀 !!!犯了这个低级错误 printf("LINE\n"); else prinntf("NONE\n"); } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator