- 博客(8)
- 资源 (10)
- 收藏
- 关注
原创 Longest Repeated Sequence
时间限制:10000ms单点时限:1000ms内存限制:256MB描述You are given a sequence of integers, A = a1, a2, ... an. A consecutive subsequence of A (say ai, ai+1 ... aj) is called a "repeated sequen
2014-04-06 11:20:25
382
转载 微软2013编程之美传话游戏
#include#include#include#include#includeusing namespace std;int main(){ int T, k = 1; scanf_s("%d", &T); while (T--) { int n, m; string s1, s2; cin >> n >> m; map mymap; for (int
2014-04-02 11:23:36
399
转载 string转换为char*
string 是c++标准库里面其中一个,封装了对字符串的操作把string转换为char* 有3中方法:1.data如:string str="abc";char *p=str.data();2.c_str如:string str="gdfd"; char *p=str.c_str();3. copy比如string str="hello";
2014-04-02 11:17:39
481
原创 Ali实习生笔试总结
1.64位操作系统,int型大小仍然为4。 32位编译器: char :1个字节 char*(即指针变量): 4个字节(32位的寻址空间是2^32,即32个bit,也就是4个字节。同理64位编译器) shortint : 2个字节 int: 4个字节 unsignedint : 4个字节 float: 4个
2014-03-30 14:31:06
519
GMM高斯混合模型学习文档
2011-11-08
GMM的matlab实现集合
2011-11-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人