NSX is VMware's strategy for Software-defined networking, it was implemented purely in software, and provides users with L2 networks over traditional ...
分类:
其他好文 时间:
2015-05-25 23:42:35
阅读次数:
159
今天主要学习了 1.关键字@synthesize 我们使用@property定义属性之后,有时候我们不想定义属性为_开头的参数名, 如果我们想修改这个属性的名称,就可以使用@synthesize关键字来对属性名称进行修改 2.点语法 ①可...
分类:
其他好文 时间:
2015-05-25 22:39:32
阅读次数:
159
=============================CString================================== ?当有多个字串时,比如 ?? ? int ? n1 ? = ? 5; ?? ? int ? n2 ? = ? 10; ?? ? char ? sz1[] ? = ? "abcdefg"; ??...
分类:
其他好文 时间:
2015-05-25 22:39:26
阅读次数:
144
5月份YII2学习任务基本上告一段落了,总体感觉只是简单学习了YII2,可以进行基本的应用开发,文档没有全部看完,自己简单做了一个QA问答系统进行练手。 QA问答系统功能: 1、登陆、注册、收藏、关注 2、问答 3、文...
分类:
其他好文 时间:
2015-05-25 22:39:26
阅读次数:
147
题目链接:
hihocoder 1014
代码:
#include
#include
#include
using namespace std;
struct node{
int ans;
node* next[26];
node()
{
ans=1;
for(int ii=0;ii<26;ii++)
...
分类:
其他好文 时间:
2015-05-25 22:37:07
阅读次数:
258
题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1787
题解:
求出三个点两两之间的lca会发现有两个是一样的,然后我们选那个不一样的就好了。
#include
#include
#include
#include
using namespace std;
struct use{
int st,en;
}b[5000001];...
分类:
其他好文 时间:
2015-05-25 22:39:25
阅读次数:
130
暴力法枚举,五重循环。
一开始因为空格问题WA了,要注意#include
#include
#include
using namespace std;int main(){
int a,b,c,d,e,f,g,h,i,j,n;
int cnt = 0;
int div = 0,res;
set num;...
分类:
其他好文 时间:
2015-05-25 22:35:47
阅读次数:
205
类似于背包,但是最后物品可以拆分.另外,因为要求第一次的选择,从后往前进行dp.代码如下:#include
#include
#include
using namespace std;#define INF 0x3f3f3f3ftypedef struct
{
int cnt;
int w[103],v[103];
}P;
P...
分类:
其他好文 时间:
2015-05-25 22:35:53
阅读次数:
180
字符串统计
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 51785 Accepted Submission(s): 28416
Problem Description
对于给定的一个字符串,统计其中数字字符出现的...
分类:
其他好文 时间:
2015-05-25 22:38:00
阅读次数:
151
2753: [SCOI2012]滑雪与时间胶囊
Time Limit: 50 Sec Memory Limit: 128 MB
Submit: 1524 Solved: 536
[Submit][Status][Discuss]
Description
a180285非常喜欢滑雪。他来到一座雪山,这里分布着M条供滑行的轨道和N个轨道之间的交点(同时也是景点),而且每个景点都有一编号i(...
分类:
其他好文 时间:
2015-05-25 22:35:15
阅读次数:
154
Distance Queries
Time Limit: 2000MS
Memory Limit: 30000K
Total Submissions: 10142
Accepted: 3575
Case Time Limit: 1000MS
Description
Farmer John's cows refused to ...
分类:
其他好文 时间:
2015-05-25 22:34:49
阅读次数:
160
对于仿射变换的理解,以本人现阶段水平还谈不上是深入了解,我喜欢把它想象成一种简单的动画效果,下面介绍几种简单的变化:位置移动,按一定比例缩放,顺时针、逆时针旋转
#import "ViewController.h"
@interface
ViewController ()
@property (nonatomic...
分类:
其他好文 时间:
2015-05-25 22:36:35
阅读次数:
192
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
For example, given s = "aab",
Return
[
["aa","...
分类:
其他好文 时间:
2015-05-25 22:36:35
阅读次数:
123
Perl 是 Practical Extraction and Report Language的缩写,它是由Larry Wall设计的,并由他不断更新和维护。
Perl 是解释运行的。一般Perl程序的第一行需注明自己是个Perl程序而不是shell程序
。
一般将下面的一行作为文件的第一行#!/usr/bin/perl可以在终端敲入 prel -v 查看是否有安装prel 。 wher...
分类:
其他好文 时间:
2015-05-25 22:33:24
阅读次数:
115
毕业设计终于忙完了,答辩顺利通过~~~以后可以安心的写程序了,希望正在学习IOS或者编程的道友能一起学习,本人会不定时上传案例demo,愿你我共勉,一起学习进步。最后一句,每个人都要有梦想,万一实现了呢~~~...
分类:
其他好文 时间:
2015-05-25 22:33:57
阅读次数:
143
题意不说了,之所以贴代码是因为想说容器是个很好的东西#include
#include
#include
#include
#include
#include
using namespace std;
mapint,setint> >mp;
setint>::iterator it;
int main()
{
int n,m,x;
while(~scanf("%d%d",&n,&m...
分类:
其他好文 时间:
2015-05-25 22:35:10
阅读次数:
148