摘要: 时间限制1000 ms内存限制65536 KB题目描述Given points on a 2D plane, judge whether there're three points that locate on the same line.输入格式The number of test casesT(... 阅读全文
posted @ 2014-04-20 17:26 Pudding_AI 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 时间限制 1000 ms 内存限制 65536 KB 题目描述 Given an array with N integers where all elements appear three times except for one. Find out the one which appears on 阅读全文
posted @ 2014-04-20 14:41 Pudding_AI 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 时间限制1000 ms内存限制65536 KB题目描述Calculate the sum of two given integersAandB.输入格式The input consists of a line withAandB.(−10^4≤A,B≤10^4).输出格式Output the onl... 阅读全文
posted @ 2014-04-20 14:36 Pudding_AI 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 转载自http://blog.csdn.net/nicky_zs/article/details/4053146优先级操作符描述例子结合性1()[]->.::++--调节优先级的括号操作符数组下标访问操作符通过指向对象的指针访问成员的操作符通过对象本身访问成员的操作符作用域操作符后置自增操作符后置自... 阅读全文
posted @ 2014-04-18 23:29 Pudding_AI 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-03-28 21:04 Pudding_AI 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 已知一队人的体重,查找有没有两个人体重和为120。 如果只是判定是否有符合标准的,此程序OK。 如果要输出所有合理配对,则此程序在体重有重复值时不合理。 阅读全文
posted @ 2014-03-28 20:53 Pudding_AI 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 布丁的菜鸟进阶之路 Begin! 阅读全文
posted @ 2014-03-28 12:02 Pudding_AI 阅读(69) 评论(0) 推荐(0) 编辑