
思路
cwqHHH
这个作者很懒,什么都没留下…
展开
-
leetcode #3 无重复字符的最长子串(C)
给定一个字符串,请你找出其中不含有重复字符的最长子串的长度。 示例1: 输入: "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/longest-substring-without-repeating-characters ...原创 2020-03-27 00:41:16 · 238 阅读 · 0 评论 -
思路 CodeForces 835B
Some natural number was written on the board. Its sum of digits was not less than k. But you were distracted a bit, and someone changed this number to n, replacing some digits with others. It's know原创 2017-11-30 10:24:49 · 246 阅读 · 0 评论 -
bfs 思路 hrbust院赛初赛D
逃脱 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 这是mengxiang000和Tabris来到幼儿园的第四天,幼儿园老师在值班的时候突然发现幼儿园某处发生火灾,而且火势蔓延极快,老师在第一时间就发出了警报,位于幼儿园某处的mengxiang000和Tabris听到了火原创 2017-12-14 16:37:14 · 264 阅读 · 0 评论