怪我咯
浏览量13095 | 粉丝289 | 关注2
2017-04-17 13:05:28
c++ - 【LeetCode】Word Pattern
我在 LeetCode 上练习 Word Pattern(题目连接点这里),写的程序放在本地VS2008上跑如下实例: pattern = "abba", str = "dog cat cat fish" should return false. 没有问题,返回的是false,但是放在LeetCode ...
0
1
892
2017-04-17 13:05:24
2017-04-17 13:05:22
2017-04-17 13:05:16
c++ - 数组和vector的用法
现在有一个函数 void func(int * array,int size);假如使用数组的后半部分,调用该函数可以这样写,func(array +size/2 +1, size-size/2 -1)如果使用vector作为 void func(vector<int> vec),也要调用vector...
0
2
881
2017-04-17 13:05:16
2017-04-17 13:05:14
linux - ubuntu安装wine失败?求解
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been creat...
0
3
887
2017-04-17 13:05:09
html5 - HTML网页打开显示视频开始的图片,点击后播放视频
<!DOCTYPE HTML><html><body> <video width="320" height="240" controls="controls"><source src="/i/movie.
0
2
882
2017-04-17 13:05:00
2017-04-17 13:04:32
java - 社交网站的用户关系数据是怎么设计的,比如关注数,黑名单数,粉丝数等等。
我见过一种设计,在数据库里面有一张用户关系表,表结构如下 CREATE TABLE relation ( relation_id private key AUTO_INCREMENT,//关系id relation_fans text,//粉丝数据 relation_black text,//黑名单数据 relat...
0
2
795
2017-04-17 13:04:27