上一页 1 ··· 11 12 13 14 15
摘要: Description Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bri 阅读全文
posted @ 2018-03-25 11:47 wrjlinkkkkkk 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 网页链接:点击打开链接 Apart from plush toys, Imp is a huge fan of little yellow birds! To summon birds, Imp needs strong magic. There are n trees in a row on an 阅读全文
posted @ 2018-03-21 00:25 wrjlinkkkkkk 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 题目链接:点击打开链接 Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个单词,单词的 阅读全文
posted @ 2018-03-19 23:24 wrjlinkkkkkk 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目链接:点击打开链接 Imp is in a magic forest, where xorangles grow (wut?) A xorangle of order n is such a non-degenerate triangle, that lengths of its sides a 阅读全文
posted @ 2018-03-19 18:05 wrjlinkkkkkk 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 题目链接:点击打开链接 Pushok the dog has been chasing Imp for a few hours already. Fortunately, Imp knows that Pushok is afraid of a robot vacuum cleaner. While 阅读全文
posted @ 2018-03-19 17:49 wrjlinkkkkkk 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Problem Description 给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度.回文就是正反读都是一样的字符串,如aba, abba等 Input 输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,z组成的字符串S两组ca 阅读全文
posted @ 2018-03-15 16:40 wrjlinkkkkkk 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Bob is a farmer. He has a large pasture with many sheep. Recently, he has lost some of them due to wolf attacks. He thus decided to place some shepher 阅读全文
posted @ 2018-03-11 23:40 wrjlinkkkkkk 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Problem Description 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input 输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCI 阅读全文
posted @ 2018-03-08 20:47 wrjlinkkkkkk 阅读(150) 评论(0) 推荐(0) 编辑
摘要: You have two variables a and b. Consider the following sequence of actions performed with these variables: If a = 0 or b = 0, end the process. Otherwi 阅读全文
posted @ 2018-03-07 16:20 wrjlinkkkkkk 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15