上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 97 下一页
摘要: Problem Description John has several lines. The lines are covered on the X axis. Let A is a point which is covered by the most ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(202) 评论(0) 推荐(0)
摘要: Problem Description Peter has a string s=s1s2...sn, let suffi=sisi+1...sn...sn be the suffix start with ii-th character of ss. ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(25) 评论(0) 推荐(0)
摘要: Problem Description The problem you need to solve here is pretty simple. You are give a function f(A, n), where A is an array o... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(20) 评论(0) 推荐(0)
摘要: Problem Description During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(0) 评论(0) 推荐(0)
摘要: unique() 位于 头文件中,其作用是元素去重,即删除序列中所有相邻的重复元素。 其删除元素,只是一个伪去除,只是重新排列了序列中的元素,将相邻的重复元素添加到容器末尾,简单来说,使用 unique() 后,容器的长度没有变,只是元素顺序改变了。 其返回... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(150) 评论(0) 推荐(1)
摘要: Problem Description 度度熊是一只喜欢探险的熊,一次偶然落进了一个m*n矩阵的迷宫,该迷宫只能从矩阵左上角第一个方格开始走,只有走到右上角的第一个格子才算走出迷宫,每一次只能走一格,且只能向上向下向右走以前没有走过的格子,每一个格子中都... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(51) 评论(0) 推荐(0)
摘要: Problem Description A list of n integers are given. For an integer x you can do the following operations: + let the binary rep... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(23) 评论(0) 推荐(0)
摘要: Problem Description Consider the decimal presentation of an integer. Let's call a number d-magic if digit d appears in decimal ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(77) 评论(0) 推荐(0)
摘要: 昨天有事回家,在车站冻了半天,成功的感冒了。。。 早上 8 点多醒了想来实验室,有的头晕量了量体温,有点低烧,就决定再睡一会订好闹钟 10 点多再去实验室,结果一睡睡到快 1 点,打比赛成功的迟到了 1 个多小时。。。 出的第一个题是之前做过的一个区间 dp,... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(25) 评论(0) 推荐(0)
摘要: Problem Description Dima, Inna and Seryozha have gathered in a room. That's right, someone's got to go. To cheer Seryozha up an... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(81) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 97 下一页