摘要:
There is an objective test result such as “OOXXOXXOOO”. An ‘O’ means a correct answer of a problemand an ‘X’ means a wrong answer. The score... 阅读全文
posted @ 2017-07-17 20:19
mlzc
阅读(42)
评论(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-07-17 20:19
mlzc
阅读(121)
评论(0)
推荐(0)
摘要:
安装配置MinGw下载安装MinGW去官网下载MinGw :http://www.mingw.org/或者下载我已经下载好的完整版:http://pan.baidu.com/s/1gfgluin (2017.7.5更新)如图所示官网下载的选好后 Installation > ... 阅读全文
posted @ 2017-07-17 20:19
mlzc
阅读(150)
评论(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-07-17 20:19
mlzc
阅读(107)
评论(0)
推荐(0)
摘要:
题目描述:给你n个整数,请按从大到小的顺序输出其中前m大的数。输入:每组测试数据有两行,第一行有两个数n,m(0#include#include#include#define N 1000000using namespace std;int a[N];int main(){ ... 阅读全文
posted @ 2017-07-17 20:19
mlzc
阅读(87)
评论(0)
推荐(0)
摘要:
元组与列表的区别之处在于,元组的元素不能修改。但是可以进行分片链接操作。元组name=('赵驰',100,99,88)列表name=['赵驰',100,99,88]元组采用小括号,列表采用方括号image.png元组常见操作元组合并image.png元组删除元组内的元素不允许被删... 阅读全文
posted @ 2017-07-17 20:19
mlzc
阅读(109)
评论(0)
推荐(0)
摘要:
字典字典可以理解为列表的升级版列表list={“dandan”,"zhangsan","wangwu"}字典dic={'name':'淡淡','sex':'男','professional':'计算机科学与技术'}如果需要修改"zhangsan",则需要先找到它的下标,而字典是根... 阅读全文
posted @ 2017-07-17 20:19
mlzc
阅读(141)
评论(0)
推荐(0)