2018年2月12日
摘要: Cyclic NacklaceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tota... 阅读全文
posted @ 2018-02-12 20:53 蔡军帅 阅读(90) 评论(0) 推荐(0)
摘要: Cyclic Nacklace Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11516 Accepted Submission(s): 491 阅读全文
posted @ 2018-02-12 20:53 蔡军帅 阅读(159) 评论(0) 推荐(0)
摘要: OulipoTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submiss... 阅读全文
posted @ 2018-02-12 20:09 蔡军帅 阅读(109) 评论(0) 推荐(0)
摘要: Oulipo Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17441 Accepted Submission(s): 6938 Problem 阅读全文
posted @ 2018-02-12 20:09 蔡军帅 阅读(194) 评论(0) 推荐(0)
摘要: 给定两个字符串A,B,判断T是否为S的子串(变式:寻找子串B在串A中的位置)。 要求一个O(|A|+|B|)的做法。 通常称A为目标串(或主串),B为模式串。 算法过程: 我们假设串A的长度为n,串B的长... 阅读全文
posted @ 2018-02-12 17:17 蔡军帅 阅读(151) 评论(0) 推荐(0)
摘要: 给定两个字符串A,B,判断T是否为S的子串(变式:寻找子串B在串A中的位置)。 要求一个O(|A|+|B|)的做法。 通常称A为目标串(或主串),B为模式串。 算法过程: 我们假设串A的长度为n,串B的长度为m,每个字符串的开头下标默认为1。 定义两个变量i和j,这两个变量共同表示:A[i-j+1~ 阅读全文
posted @ 2018-02-12 17:17 蔡军帅 阅读(162) 评论(0) 推荐(0)
摘要: Number SequenceTime Limit : 10000/5000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total ... 阅读全文
posted @ 2018-02-12 16:03 蔡军帅 阅读(95) 评论(0) 推荐(0)
摘要: Number Sequence Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given two sequences of numbers : a[1], a[2], ...... , a[N 阅读全文
posted @ 2018-02-12 16:03 蔡军帅 阅读(199) 评论(0) 推荐(0)
摘要: Out of HayTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18472 Accepted: 7318DescriptionThe... 阅读全文
posted @ 2018-02-12 14:42 蔡军帅 阅读(108) 评论(0) 推荐(0)
摘要: Out of Hay Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18472 Accepted: 7318 Description The cows have run out of hay, a horrible event 阅读全文
posted @ 2018-02-12 14:42 蔡军帅 阅读(173) 评论(0) 推荐(0)
摘要: Bad CowtractorsTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total ... 阅读全文
posted @ 2018-02-12 14:33 蔡军帅 阅读(105) 评论(0) 推荐(0)
摘要: Bad Cowtractors Problem Description Bessie has been hired to build a cheap internet network among Farmer John's N (2 <= N <= 1,000) barns that are con 阅读全文
posted @ 2018-02-12 14:33 蔡军帅 阅读(174) 评论(0) 推荐(0)
摘要: Agri-NetTime Limit : 2000/1000ms (Java/Other) Memory Limit : 20000/10000K (Java/Other)Total Submissi... 阅读全文
posted @ 2018-02-12 14:13 蔡军帅 阅读(104) 评论(0) 推荐(0)
摘要: Agri-Net Problem Description Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all fa 阅读全文
posted @ 2018-02-12 14:13 蔡军帅 阅读(148) 评论(0) 推荐(0)