05 2017 档案
摘要:在c++中,vector是一个十分有用的容器,下面对这个容器做一下总结。 1 基本操作 (1)头文件#include<vector>. (2)创建vector对象,vector<int> vec; (3)尾部插入数字:vec.push_back(a); (4)使用下标访问元素,cout<<vec[0
阅读全文
摘要:A. Candy Bags time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Candy Bags time limit pe
阅读全文
摘要:本文就最长公共子序列,最长连续递增子序列的长度,最大连续递增子序列的值进行对比。 hdu-1159: Common Subsequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
阅读全文
摘要:Yi Sima was one of the best counselors of Cao Cao. He likes to play a funny game himself. It looks like the modern Sudoku, but smaller. Actually, Yi S
阅读全文

浙公网安备 33010602011771号