码迷,mamicode.com
首页 >  
搜索关键字:bbb    ( 1550个结果
HDU 5305 Friends
水水的DFS 题意:n个人m个关系,要求每个人的网上朋友和现实朋友一样多,求一共有多少种关系 解:因为数据小,暴力DFS就可以了,不过要一点小剪枝 #include #include int point[10]; struct aaa { int x,y; }line[30]; struct bbb { int online,outline; }node[10]; int...
分类:其他好文   时间:2015-07-26 11:14:08    阅读次数:126
归档反归档
//归档 反归档(麻烦的方法) /* //归档 //创建Person实例对象 Person *person1=[[Person alloc]init]; person1.name=@"bbb"; person1.age=@"39"; Person *person2=[[Person alloc].....
分类:其他好文   时间:2015-07-24 12:16:59    阅读次数:138
三种方式绑定hosts文件来访问域名
一、通过windows的hosts文件(C:\Windows\System32\drivers\etc\hosts) aaa.bbb.com111.111.111.111 111.111.111.111aaa.bbb.com 二、通过linux下的/etc/hosts(cat/etc/hosts) aaa.bbb.com111.111.111.111 111.111.111.111aaa.bbb.com 三、通过curl命令直接绑定访问 curl-H"Ho..
分类:其他好文   时间:2015-07-24 00:09:24    阅读次数:158
设置枚举属性,并且获取到属性
通过枚举来获取属性,和通过枚举的值来获取属性public enum TestEmun { [Remark("AAA")] aaa=1, [Remark("BBB")] bbb=2, [Remark("CCC")] ccc=3 }...
分类:其他好文   时间:2015-07-23 23:22:08    阅读次数:210
Android Studio 添加类似eclipse 里的user library
如题 引用users-library。users-library作用是,在编译时使用,但是jar不会打包到apk中,由Android或Android上安装的服务提供需要的内容。AS中引用users-library在build.gradle文件中配置//将compile改为provided provided files('libs/xx.jar') provided 'aaa:bbb:x.x.x'出...
分类:移动开发   时间:2015-07-23 17:53:42    阅读次数:241
PHP 定界符使用
在PHP代码中,如果不想一行一行的拼接HTML或者JS的话,那么使用定界符将是最好的帮手!使用方法:<<<eof.......html/js.....eof;注意事项:(别看很简单,除了html或js代码外,就两行,但也有几点需要注意)一、eof可以是想要的任意值(aaa、bbb),但一定要是成对出...
分类:Web程序   时间:2015-07-21 23:35:51    阅读次数:175
#ifdef 和 #if defined 的区别 -- 转
#ifdef 和 #if defined 的区别在于,后者可以组成复杂的预编译条件,比如#if defined (AAA) && defined (BBB)xxxxxxxxx#endif#if defined (AAA) || VERSION > 12xxxxxxxxx#endif而#ifdef 就...
分类:其他好文   时间:2015-07-21 22:01:00    阅读次数:89
LeetCode 3 Longest Substring Without Repeating Characters
Given a string,find the length of the longest substring without repeating characters. Forexample, the longest substring without repeating letters for"abcabcbb" is "abc", which the length is 3. For"bbb...
分类:其他好文   时间:2015-07-21 12:54:53    阅读次数:84
Cookie
*** Cookie是HTTP协议制定的!先由服务器保存Cookie到浏览器,再下次浏览器请求服务器时把上一次请求得到Cookie再归还给服务器由服务器创建保存到客户端浏览器的一个键值对!服务器保存Cookie的响应头:Set-Cookie: aaa=AAA Set-Cookie: bbb=BBB(...
分类:其他好文   时间:2015-07-20 19:02:47    阅读次数:124
在 WinForm 中打开页面采用POST方式传参http。可以多个参数传递,返回json字符串
//调用方法DictionarypostData=newDictionary();postData.Add("user","aaa");postData.Add("pass","bbb");GetPageByPost("http://www.xxx.com/send.aspx",postData,E...
分类:Windows程序   时间:2015-07-14 15:15:13    阅读次数:270
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!