摘要:
POJ 1703 - Find them, Catch themThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs ... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(123)
评论(0)
推荐(0)
摘要:
HDU 1272 - 小希的迷宫上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(91)
评论(0)
推荐(0)
摘要:
NPY is learning arithmetic progression in his math class. In mathematics, an arithmetic progression (AP) is a sequence of numbers such that ... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(117)
评论(0)
推荐(0)
摘要:
安装配置MinGw下载安装MinGW去官网下载MinGw :http://www.mingw.org/或者下载我已经下载好的完整版:http://pan.baidu.com/s/1gfgluin (2017.7.5更新)如图所示官网下载的选好后 Installation > ... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(147)
评论(0)
推荐(0)
摘要:
Description输入n(n #include #define N 101void quick_sort(int s[], int l, int r){ int i, j, x; if (l abs(x)) j--; /* 从右... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(168)
评论(0)
推荐(0)
摘要:
题目描述:给你n个整数,请按从大到小的顺序输出其中前m大的数。输入:每组测试数据有两行,第一行有两个数n,m(0#include#include#include#define N 1000000using namespace std;int a[N];int main(){ ... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(147)
评论(0)
推荐(0)
摘要:
元组与列表的区别之处在于,元组的元素不能修改。但是可以进行分片链接操作。元组name=('赵驰',100,99,88)列表name=['赵驰',100,99,88]元组采用小括号,列表采用方括号image.png元组常见操作元组合并image.png元组删除元组内的元素不允许被删... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(115)
评论(0)
推荐(0)
摘要:
字典字典可以理解为列表的升级版列表list={“dandan”,"zhangsan","wangwu"}字典dic={'name':'淡淡','sex':'男','professional':'计算机科学与技术'}如果需要修改"zhangsan",则需要先找到它的下标,而字典是根... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(442)
评论(0)
推荐(0)
摘要:
循环遍历列表(for循环)列表常见操作(“增”、“删”、“改”、“查”)增(append)删(“pop”、“del”、“remove”)改(“先找到用户下标,在进行修改,与列表元素赋值一样”)查(in、not in)#coding=utf-8name=["zhangsan","w... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(338)
评论(0)
推荐(0)
摘要:
排序:将杂乱无章的数据,按照一定的方法进行排列的过程叫做排序。排序的分类排序大的分类可分为内排序和外排序,不需要访问外存就能进行排序的叫做内排序。内排序又可以分为以下几类:插入排序:直接插入排序、二分法插入排序、希尔排序。选择排序:直接选择排序、堆排序。交换排序:冒泡排序、快速排... 阅读全文
posted @ 2017-09-22 18:01
passwd.d
阅读(181)
评论(0)
推荐(0)

浙公网安备 33010602011771号