登录
首页 » Python » 画家小Q

画家小Q

于 2022-10-21 发布 文件大小:116.11 kB
0 150
下载积分: 2 下载次数: 1

代码说明:

小Q有一块NxM像素格的画板,画板初始状态为空白的,用‘X’表示。如果选择斜线为‘/’画格子,涂成蓝色,用‘B’表示;如果选择斜线为‘’画格子,涂成黄色,用‘Y’表示; 如果一个格子既被蓝色涂过又被黄色涂过,则变成绿色,用‘G’表示。 小Q已经有想好画的样子,计算最少要多少次操作完成这幅画?输入:4 4 YXXB XYGX XBYY BXXY输出:3

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • python_sina_crawl
    新浪微博的爬虫程序。程序运行方式:保存所有代码后,打开Main.py,修改LoginName为你的新浪微博帐号,PassWord为你的密码。运行Main.py,程序会在当前目录下生成CrawledPages文件夹,并保存所有爬取到的文件在这个文件夹中。(Sina microblogging reptiles. Program operation: save all the code, open Main.py, modify LoginName for your Sina Weibo account, PassWord for your password. Run Main.py, the program will generate CrawledPages in the current directory folder and save all files to crawling in this folder.)
    2021-04-08 16:39:00下载
    积分:1
  • CVIU_2
    面部地标检测旨在定位给定特征点的面部图像的关键点,这些特征点通常遭受由任意姿势,不同面部表情和部分遮挡引起的变化。我们提出了一个粗到细的框架,它将堆叠的沙漏网络和显着区域的注意力细化联系起来,以实现稳健的面部对齐。为了实现这一目标,我们首先提出了一个多尺度区域学习模块(MSL)来分析不同面部区域的结构信息,并提取强烈的判别性深层特征。然后我们采用堆叠沙漏网络(SHN)进行热图回归和初始面部地标预测。(Facial landmark detection aims to locate keypoints for a facial image given feature points, which typically suffers from variations caused by arbitrary pose, diverse facial expressions, and partial occlusion. We put forward a coarse-to-fine framework which joints stacked hourglass network and salient region attention refinement for robust face alignment. In order to achieve this goal, we firstly put forward a multi-scale region learning module (MSL) to analyze the structure information at different facial region and extract strong discriminative deep feature. Then we employ stacked hourglass network (SHN) for heatmap regression and initial facial landmarks prediction.)
    2020-06-20 11:00:02下载
    积分:1
  • Multi-Agent-Reinforcement-Learning-Environment
    说明:  多智能体强化学习环境,用于开发强化学习算法(Multi agent reinforcement learning environment)
    2020-10-20 20:57:24下载
    积分:1
  • 简单的计算器应用程序
    2022-05-31 22:40:31下载
    积分:1
  • 蚁群算法Python实现
    说明:  使用python编程语言实现了蚁群优化算法,有利于新人增强对该算法的了解。(Ant colony optimization algorithm is imple)
    2021-01-05 09:34:52下载
    积分:1
  • linphone-3.11.1源代码包
    linphone-3.11.1源代码包 这个是在官网下载的 先上传上来以防万一
    2022-03-17 10:39:33下载
    积分:1
  • gobang
    一个五子棋游戏,用阿尔法贝塔剪枝的方法实现博弈树,程序会根据最优情况选择正确的落子位置(A Gobang game, using Alphabeta pruning method to achieve the game tree, the program will choose the right drop position according to the optimal situation.)
    2020-06-17 18:00:02下载
    积分:1
  • 目标跟踪project3
    说明:  视频跟踪是计算机视觉中的一个重要研究方向,有着广泛的应用,如:视频监控,人机交互, 无人驾驶等。过去二三十年视觉目标跟踪技术取得了长足的进步,特别是最近两年利用深度学习的目标跟踪方法取得了令人满意的效果,使目标跟踪技术获得了突破性的进展。本文旨在简要介绍:目标跟踪的基本流程与框架,目标跟踪存在的挑战,目标跟踪相关方法,以及目标跟踪最新的进展等,此次资料能够帮助初学者对于这个领域有一个初步的认识。(Video tracking is an important research direction in computer vision and has a wide range of applications, such as: video surveillance, human-computer interaction, and unmanned driving. The visual target tracking technology has made great progress in the past two or three decades, especially the target tracking method using deep learning in the past two years has achieved satisfactory results, making the target tracking technology a breakthrough. This article aims to briefly introduce: the basic process and framework of target tracking, the challenges of target tracking, related methods of target tracking, and the latest progress of target tracking. This information can help beginners to have a preliminary understanding of this field.)
    2020-06-21 20:12:20下载
    积分:1
  • 卷积神经网络
    【实例简介】
    2021-06-22 00:31:18下载
    积分:1
  • python-excel.pdf
    介绍使用python处理excel文件,教程语言为英语。(working excel files in python)
    2017-10-15 17:15:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载