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 |
I Guess The Statement Is Wrong Check It Now!Hi The Problem Statement Say This For each number K, if one of its factors are strictly less than the required L, your program should output "BAD p", where p is the smallest factor in K. Otherwise, it should output "GOOD". Cases should be separated by a line-break. if one of its factors are strictly less than the required L?? Maybe Is Wrong Because In The Data Have This Cases 4 2 6 3 a). Prime Factors Of 4 Are 2,2! 2 Is Strictly Less That 2?? Not They Are Equals. the Output Should be Bad 2. But The Right Output is GOOD!! Check It.!! If Prime Factors Are > x Print Bad x. OtherWise Print Good. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator