随笔分类 -  算法基础—搜索

摘要:题干描述来自https://www.cnblogs.com/ZKYAAA/p/12730937.html 自己记不清了QAQ 第一题 问题描述 在计算机存储中,12.5MB是多少字节? 答案提交 这是一道结果填空的题,你只需要算出结果后提交即可。本题的结果为一个整数,在提交答案时只填写这个整数,填写 阅读全文
posted @ 2020-04-19 18:57 脂环 阅读(1045) 评论(6) 推荐(0) 编辑
摘要:Writing light novels is the most important thing in Linova's life. Last night, Linova dreamed about a fantastic kingdom. She began to write a light no 阅读全文
posted @ 2020-04-16 11:18 脂环 阅读(307) 评论(0) 推荐(0) 编辑
摘要:Adera是Microsoft应用商店中的一款解谜游戏。 异象石是进入Adera中异时空的引导物,在Adera的异时空中有一张地图。 这张地图上有N个点,有N-1条双向边把它们连通起来。 起初地图上没有任何异象石,在接下来的M个时刻中,每个时刻会发生以下三种类型的事件之一: 地图的某个点上出现了异象 阅读全文
posted @ 2020-04-10 17:42 脂环 阅读(239) 评论(0) 推荐(0) 编辑
摘要:Once Petya read a problem about a bracket sequence. He gave it much thought but didn't find a solution. Today you will face it. You are given string s 阅读全文
posted @ 2020-03-18 20:44 脂环 阅读(283) 评论(0) 推荐(0) 编辑
摘要:题目描述 Bessie hears that an extraordinary meteor shower is coming; reports say that these meteors will crash into earth and destroy anything they hit. A 阅读全文
posted @ 2020-03-14 01:03 脂环 阅读(363) 评论(0) 推荐(0) 编辑
摘要:Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a 阅读全文
posted @ 2020-02-18 15:20 脂环 阅读(148) 评论(0) 推荐(0) 编辑
摘要:大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 ( 阅读全文
posted @ 2020-02-17 16:11 脂环 阅读(255) 评论(0) 推荐(0) 编辑
摘要:You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. 阅读全文
posted @ 2020-02-16 17:00 脂环 阅读(180) 评论(0) 推荐(0) 编辑
摘要:在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将 阅读全文
posted @ 2020-02-16 15:43 脂环 阅读(125) 评论(0) 推荐(0) 编辑
摘要:Polycarp wants to assemble his own keyboard. Layouts with multiple rows are too complicated for him — his keyboard will consist of only one row, where 阅读全文
posted @ 2020-02-13 13:10 脂环 阅读(283) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩