登录
首页 » Python » 画家小Q

画家小Q

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

代码说明:

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

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

发表评论

0 个回复

  • 基于蚁群的分类算法
    用蚁群算法解决分类问题,但目前我的这段代码只能处理离散的属性。连续性的属性可以先自己进行离散化。当初偷懒了,没有把写离散化的代码。这段代码的水平很低,各位忍忍吧,请原谅一个python新手。
    2022-03-04 23:23:51下载
    积分:1
  • guanjiejiaodu
    获取nao机器人全身各个部位的关节角度值,并且以矩阵的形式输出(Get nao robot joint angle values for each part of the body, and output in the form of a matrix)
    2021-01-02 16:38:57下载
    积分:1
  • 231
    吃豆人游戏主程序代码3123123131231313123(The pacman game s main programe )
    2015-12-13 19:53:38下载
    积分:1
  • code
    数据处理预测;时间序列;前期数据处理;后期GRU预测(Data processing prediction)
    2018-11-23 09:23:46下载
    积分:1
  • python机器学习预测分析核心算法
    python机器学习预测分析核心算法的例程(Python machine learning prediction and analysis of core algorithm routines)
    2018-08-01 01:34:40下载
    积分:1
  • 神经网络gcn代码
    gcn
    2020-11-09下载
    积分:1
  • hht_example
    说明:  hht example for python
    2020-06-16 12:40:02下载
    积分:1
  • 人脸识别python代码
    人脸识别python代码 先配好了 OpenCV 的 Python 环境,然后体验一下 opencv 的人脸识别
    2022-10-26 23:40:04下载
    积分:1
  • 统计学习方法(李航)
    说明:  统计学习是计算机及其应用领域的一门重要的学科本书全面系统地介绍了统计学习的主要方法,特别是监督学习方法,包括感知机、K近邻法、朴素贝叶斯法、决策树、逻辑斯谛回归、与最大熵模型、支持向量机、提升方法、EM算法、隐马尔可夫模型和条件随机场等。(Statistical learning is an important subject in the field of computer and application of this book comprehensively systematically introduces the main methods of statistical learning, especially the supervision method of study, including the perception, K neighbor method, naive bayesian method, decision tree, logistic regression, and the maximum entropy model, support vector machine (SVM), promotion methods, the EM algorithm, the hidden markov model and conditional random field, etc.)
    2020-06-20 11:20:02下载
    积分:1
  • PyLED-master
    说明:  py语言led控制操作代码,第三方工具。(Py language LED control operation code, third-party tools.)
    2019-05-26 20:45:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载