摘要: A. Diverse Strings A. Diverse Strings A string is called diverse if it contains consecutive (adjacent) letters of the Latin alphabet and each letter o 阅读全文
posted @ 2019-07-27 17:33 远航。 阅读(165) 评论(0) 推荐(0) 编辑
摘要: B. Parity Alternated Deletions B. Parity Alternated Deletions Polycarp has an array aa consisting of nn integers. He wants to play a game with this ar 阅读全文
posted @ 2019-07-27 17:28 远航。 阅读(346) 评论(0) 推荐(0) 编辑
摘要: C. Two Shuffled Sequences C. Two Shuffled Sequences Two integer sequences existed initially — one of them was strictly increasing, and the other one — 阅读全文
posted @ 2019-07-27 17:23 远航。 阅读(225) 评论(0) 推荐(0) 编辑
摘要: D. Equalize Them All D. Equalize Them All You are given an array aa consisting of nn integers. You can perform the following operations arbitrary numb 阅读全文
posted @ 2019-07-27 17:19 远航。 阅读(262) 评论(0) 推荐(0) 编辑
摘要: A. Reachable Numbers A. Reachable Numbers Let's denote a function f(x)f(x) in such a way: we add 11 to xx, then, while there is at least one trailing 阅读全文
posted @ 2019-07-24 17:41 远航。 阅读(247) 评论(0) 推荐(0) 编辑
摘要: B. Long Number B. Long Number You are given a long decimal number aa consisting of nn digits from 11 to 99. You also have a function ff that maps ever 阅读全文
posted @ 2019-07-24 17:38 远航。 阅读(238) 评论(0) 推荐(0) 编辑
摘要: A superhero fights with a monster. The battle consists of rounds, each of which lasts exactly nn minutes. After a round ends, the next round starts im 阅读全文
posted @ 2019-07-23 21:01 远航。 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 纪录一下我小学期2天花了20小时写的菜品识别java程序。 1.2. 百度智能云简介 1.2.1 百度图像识别服务 百度图像识别服务,基于深度学习及大规模图像训练,准确识别图片中的物体类别、位置、置信度等综合信息。 1.2.2 菜品识别 支持识别5万种菜品,适用于识别只含有单个菜品的图片,接口返回菜 阅读全文
posted @ 2019-07-23 00:19 远航。 阅读(2257) 评论(0) 推荐(0) 编辑
摘要: Vova is playing a computer game. There are in total nn turns in the game and Vova really wants to play all of them. The initial charge of his laptop b 阅读全文
posted @ 2019-07-23 00:04 远航。 阅读(585) 评论(0) 推荐(0) 编辑
摘要: Polycarp knows that if the sum of the digits of a number is divisible by 3, then the number itself is divisible by 3. He assumes that the numbers, the 阅读全文
posted @ 2019-07-22 23:46 远航。 阅读(160) 评论(0) 推荐(0) 编辑