简单的大饼游戏,掌握pygame中直线以及圆弧的画法,以及对输入的响应。 1 import math 2 import pygame, sys 3 from pygame.locals import * 4 pygame.init() 5 screen = pygame.display.set_mo ...
分类:
其他好文 时间:
2016-05-05 22:37:04
阅读次数:
290
github:https://github.com/jkbrzt/httpie 一:HTTPie用途 HTTPie (读aych-tee-tee-pie)是一个 HTTP 的命令行客户端。其目标是让 CLI 和 web 服务之间的交互尽可能的人性化。 这个工具提供了简洁的 http 命令,允许通过自 ...
分类:
Web程序 时间:
2016-04-28 01:43:58
阅读次数:
203
dp[i][j][k] i代表此层用的状态序号 j上一层用的状态序号 k是层数&1(滚动数组) 标准流程 先预处理出所有合法数据存在status里 然后独立处理第一层 然后根据前一层的max推下一层 由于最多只有60多种状态 所以这其实就是个大暴力 其实还不慢 关于为什么要反义输入地图 因为我懒得写 ...
分类:
其他好文 时间:
2016-04-25 19:37:51
阅读次数:
218
题目描述 My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various siz... ...
分类:
其他好文 时间:
2016-04-21 01:37:25
阅读次数:
123
Vitaliy and Pie Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 525A Vitaliy and Pie Submit St ...
分类:
其他好文 时间:
2016-04-20 23:13:31
阅读次数:
139
项目要求: 构造程序,分别是: 不能触发Fault。 触发Fault,但是不能触发Error。 触发Error,但是不能产生Failure。 结对对象:杜敏 学号:2013110409 博客地址:http://www.cnblogs.com/minduu/ 结对编程照片: 代码 3.1不能触发Fau ...
分类:
其他好文 时间:
2016-04-17 22:33:39
阅读次数:
182
1、legend取消点击事件: 对应饼图:plotOptions.pie.point.events.legendItemClick = function() {return false;} 对应其他,如:plotOptions.column.events.legendItemClick = func ...
分类:
其他好文 时间:
2016-04-15 20:11:10
阅读次数:
121
项目要求: 构造程序,分别是: 不能触发Fault。 触发Fault,但是不能触发Error。 触发Error,但是不能产生Failure。 结对对象:陈秋月 学号:2013110404 博客地址:http://www.cnblogs.com/Issing/ 双方贡献比例:1:1 结对编程照片: 源 ...
分类:
其他好文 时间:
2016-04-15 13:37:33
阅读次数:
169
画直方图:hist(x$x1) //参数为向量,x为表图 画散点图:plot(x1,x2) // plot(x$x1,x$x2) // 列联表分析: 列联函数table() // table(x$x1) barplot(table(x$x1)) 饼图:pie(table(x$x1)) 箱线图:box ...
分类:
其他好文 时间:
2016-04-14 22:29:34
阅读次数:
216
最近在做一个关于图形统计的界面,主要用到的是Dev控件ChartControl(功能很强大,能解决基本和复杂图形统计问题)。 ChartControl主要有Diagram、Series、Legend三个重要属性 diagram主要是用来控制图形X、Y、Z轴显示的样式和是否允许旋转以及旋转的角度和绕那 ...
分类:
其他好文 时间:
2016-04-11 20:54:47
阅读次数:
726