摘要: 大菲波数 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20423 Accepted Submission(s): 6891 Problem D 阅读全文
posted @ 2017-09-09 20:55 ikefire 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 大明A+B Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13326 Accepted Submission(s): 4886 Problem 阅读全文
posted @ 2017-09-09 11:59 ikefire 阅读(240) 评论(0) 推荐(0) 编辑
摘要: A + B Problem II Time Limit: 2000/1000 MS (Java/Others) A + B Problem II Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 372150 Accepted 阅读全文
posted @ 2017-09-09 09:31 ikefire 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Problem Description 对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39<=x<y<=50),判定该表达式的值是否都为素数。 Input 输入数据有多组,每组占一行,由两个整数x,y组成,当x=0,y=0时,表示输入结束,该行不做处理。 Output 阅读全文
posted @ 2017-09-06 17:08 ikefire 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 首先要鸣谢一下教了我半天的同学: 看不明白我写的,可以看一下他的 http://www.cnblogs.com/orion7/p/7469236.html Flip game is played on a rectangular 4x4 field with two-sided pieces pla 阅读全文
posted @ 2017-09-06 11:30 ikefire 阅读(17615) 评论(0) 推荐(1) 编辑
摘要: 输入一个n 输出n行n列 eg:4 1 2 3 4 12 13 14 5 11 16 15 6 10 9 8 7 代码: 阅读全文
posted @ 2017-09-02 09:05 ikefire 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16364 Accepted Submission(s): 8704 A group of res 阅读全文
posted @ 2017-08-30 21:03 ikefire 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 数据结构书(c语言版)按书敲的不定期更新。 数据结构线性表插入删除查找的示例: 代码: 今天也是元气满满的一天,good luck! 阅读全文
posted @ 2017-08-30 11:07 ikefire 阅读(519) 评论(0) 推荐(0) 编辑
摘要: Max Sum Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max s 阅读全文
posted @ 2017-08-28 21:06 ikefire 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Jungle Roads The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages 阅读全文
posted @ 2017-08-21 17:22 ikefire 阅读(143) 评论(0) 推荐(0) 编辑