摘要: 开发一个简单错误记录功能小模块,能够记录出错的代码所在的文件名称和行号。 处理: 1.记录最多8条错误记录,对相同的错误记录(即文件名称和行号完全匹配)只记录一条,错误计数增加;(文件所在的目录不同,文件名和行号相同也要合并) 2.超过16个字符的文件名称,只记录文件的最后有效16个字符;(如果文件 阅读全文
posted @ 2019-03-19 21:17 xuyy_isee 阅读(475) 评论(0) 推荐(1) 编辑
摘要: 老师想知道从某某同学当中,分数最高的是多少,现在请你编程模拟老师的询问。当然,老师有时候需要更新某位同学的成绩. 输入描述: 输入包括多组测试数据。 每组输入第一行是两个正整数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) 编辑
摘要: In a directed graph, we start at some node and every turn, walk along a directed edge of the graph. If we reach a node that is terminal (that is, it h 阅读全文
posted @ 2019-03-17 17:03 xuyy_isee 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). Given 阅读全文
posted @ 2019-03-15 21:06 xuyy_isee 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 在当下,我写博客的初衷是为了记录自己备战秋招的准备过程,把握进度。 其实最主要是记录刷LeetCode的过程。记录在做题时自己的思考和感悟,以及通过这道题掌握了哪些新知识,复习了哪个知识点,以便之后翻阅。顺便通过这个博客来监督自己,监督自己多久没刷题了,一天能刷多少题等等。 不过目前LeetCode 阅读全文
posted @ 2019-03-15 10:09 xuyy_isee 阅读(198) 评论(0) 推荐(0) 编辑