摘要: DescriptionGiven a big integer number, you are required to find out whether it's a prime number.InputThe first line contains the number of test cases ... 阅读全文
posted @ 2015-03-27 19:04 TCtower 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 转载:http://trinklee.blog.163.com/blog/static/23815806020150155296528/问题描述:众所周知,在国王胖哥的带领下,K国国泰民安,空前繁荣,但今天K国却遇到了空前的危机。在K国境内同时发现了n个未知的病毒,每个病毒会从它被发现的位置开始感染... 阅读全文
posted @ 2015-03-27 15:55 TCtower 阅读(401) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer, your job is writing a program to determine whether it is a prime number or not.InputThere are several tests. Each test consi... 阅读全文
posted @ 2015-03-27 15:00 TCtower 阅读(259) 评论(0) 推荐(0) 编辑