摘要: 题目链接:点击打开链接 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) 编辑