上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 164 下一页
  2019年5月8日
摘要: Python——PYQT:控件基本使用 QtGui.QComboBox控件常用函数:.addItem(string)#添加字符串项到Item.addItems(list)#添加列表或元组元素到Item.clea... 阅读全文
posted @ 2019-05-08 10:12 蔡军帅 阅读(161) 评论(0) 推荐(0)
摘要: QtGui.QComboBox控件常用函数: .addItem(string) #添加字符串项到Item .addItems(list) #添加列表或元组元素到Item .clear() #清除所有Item .clearEditText() #清除编辑框内容 .count() #返回Item数目 . 阅读全文
posted @ 2019-05-08 10:12 蔡军帅 阅读(2185) 评论(0) 推荐(0)
摘要: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class calMoney(QDialog): def __init__(self,parent=None): super().__init__(parent) ... 阅读全文
posted @ 2019-05-08 10:03 蔡军帅 阅读(1241) 评论(1) 推荐(0)
摘要: Python——GUI编程 利息计算器 作业9(python programming) import sysfrom PyQt5.QtCore import *from PyQt5.QtGui import *... 阅读全文
posted @ 2019-05-08 10:03 蔡军帅 阅读(254) 评论(0) 推荐(0)
  2019年5月6日
摘要: Python——GUI编程(python programming) import sysfrom math import *from PyQt5.QtCore import *from PyQt5.QtGui... 阅读全文
posted @ 2019-05-06 15:54 蔡军帅 阅读(139) 评论(0) 推荐(0)
摘要: QLabel set_pen import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class PenPropertiesDlg(QDialog): def __in 阅读全文
posted @ 2019-05-06 15:54 蔡军帅 阅读(515) 评论(0) 推荐(0)
  2019年5月5日
摘要: 麻烦的聚餐 题目描述 为了避免餐厅过分拥挤,FJ要求奶牛们分3批就餐。每天晚饭前,奶牛们都会在餐厅前排队入内,按FJ的设想,所有第3批就餐的奶牛排在队尾,队伍的 前端由设定为第1批就餐的奶牛占据,中间的位置就归第2批就餐的奶牛了。由于奶牛们不理解FJ的安排,晚饭前的排队成了一个大麻烦。 第i头奶牛有 阅读全文
posted @ 2019-05-05 18:53 蔡军帅 阅读(588) 评论(0) 推荐(0)
摘要: 麻烦的聚餐(最长递增子序列+二分优化) 麻烦的聚餐题目描述 为了避免餐厅过分拥挤,FJ要求奶牛们分3批就餐。每天晚饭前,奶牛们都会在餐厅前排队入内,按FJ的设想,所有第3批就餐的奶牛排在队尾,队伍的 前... 阅读全文
posted @ 2019-05-05 18:53 蔡军帅 阅读(119) 评论(0) 推荐(0)
摘要: 奶牛渡河(dp) 奶牛渡河时间限制: 1 Sec 内存限制: 128 MB提交: 36 解决: 27[提交][状态][讨论版][命题人:外部导入][Edit] [TestData] [同步数据]题目描述Fa... 阅读全文
posted @ 2019-05-05 17:05 蔡军帅 阅读(110) 评论(0) 推荐(0)
摘要: 奶牛渡河 题目描述 Farmer John以及他的N(1 <= N <= 2,500)头奶牛打算过一条河,但他们所有的渡河工具,仅仅是一个木筏。 由于奶牛不会划船,在整个渡河过程中,FJ必须始终在木筏上。在这个基础上,木筏上的奶牛数目每增加1,FJ把木筏划到对岸就得花更多的时间。 当FJ一个人坐在木 阅读全文
posted @ 2019-05-05 17:05 蔡军帅 阅读(710) 评论(0) 推荐(0)
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 164 下一页