摘要: 老师想知道从某某同学当中,分数最高的是多少,现在请你编程模拟老师的询问。当然,老师有时候需要更新某位同学的成绩. 输入描述: 输入包括多组测试数据。 每组输入第一行是两个正整数N和M(0 1.思考 题目很简单,直接进行搜索即可; 由于第一次做牛客网上的编程题,再加上以前都在写LeetCode的题目, 阅读全文
posted @ 2019-03-18 20:37 xuyy_isee 阅读(724) 评论(0) 推荐(0) 编辑
摘要: Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other wo 阅读全文
posted @ 2019-03-18 16:17 xuyy_isee 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Given a string and a string dictionary, find the longest string in the dictionary that can be formed by deleting some characters of the given string. 阅读全文
posted @ 2019-03-18 11:35 xuyy_isee 阅读(149) 评论(0) 推荐(0) 编辑