码迷,mamicode.com
首页 >  
搜索关键字:comment    ( 4550个结果
Splay模板
1 //poj3580 2 //#pragma comment(linker,"/STACK:102400000,102400000") 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include ...
分类:其他好文   时间:2014-09-28 19:36:06    阅读次数:194
HDU 5052 Yaoge’s maximum profit 裸树链剖分 2014 ACM/ICPC Asia Regional Shanghai Online
题意: 给定n个点的带点权树。 下面n行给出每个点点权表示每个点买卖鸡腿的价格 下面n-1行给出树边 下面Q个操作 Q行 u, v, val 从u走到v,过程中可以买一个鸡腿,然后到后面卖掉,输出max(0, 最大的收益) 然后给[u,v]路径上点点权+=val 思路: 树链剖分裸题 屌丝题解:点击打开链接 #pragma comment(linker, "/STA...
分类:其他好文   时间:2014-09-28 18:19:26    阅读次数:288
c/c++常用代码--使用libcurl下载文件
#pragma once#include #include #include #ifdef _DEBUG#pragma comment(lib, "libcurld_imp.lib")#else#pragma comment(lib, "libcurl_imp.lib")#endifclass...
分类:编程语言   时间:2014-09-28 16:23:32    阅读次数:286
ORACLE中给表、列增加注释以及读取注释
在ORACLE中给表、列增加注释以及读取注释 1、给表填加注释:SQL>comment on table 表名 is '表注释"; 2、给列加注释:SQL>comment on column 表.列 is '列注释'; 3、读取表注释:SQL>select * from user_tab_comments where comments is not null; 4、读取列注释:SQL>se...
分类:数据库   时间:2014-09-28 13:26:02    阅读次数:213
Python学习-21.Python的代码注释
在Python中有两种注释,一种是普通注释,另一种是文档注释。普通注释是使用#开头1 print('output something') # here is comment而Python中多行注释也是使用#1 # comment 12 # comment 23 # comment 3而文档注释则是使...
分类:编程语言   时间:2014-09-28 03:05:00    阅读次数:176
A SAD CODE
从小到大写过的第二长的code了(而且是在今天比赛的过程中码出来的,-_-||)。。。。。结果竟然告诉我是TLE!!! 1 #pragma comment(linker,"/STACK:36777216") 2 #include 3 #include 4 #include 5 #inclu...
分类:其他好文   时间:2014-09-28 02:07:30    阅读次数:451
Fitnesse系列七
剩下几种都比较简单,放在一起说了。 Import Table——导入表: 引入包路径,和java语言中的import作用是一致的 Comment Table——注释表: 加上注释标记comment,表示此表不需要执行 Library Table——库表: 表示在当前的fixture中找不到方法时,去Library Table所指定的类中查找并执行 Define Tab...
分类:其他好文   时间:2014-09-27 02:23:59    阅读次数:150
UVA 11019 字符矩阵哈希
思路:以前没做过字符矩阵的哈希,所以这题是看别人博客写的。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #include #include #include #include #include #include #define mem(a,b) memset(a,b,size...
分类:其他好文   时间:2014-09-27 01:05:08    阅读次数:365
Linux samba共享多个文件夹,匿名与密码访问共存
1、yum install samba2、mkdir /share3、chmod 777 /share4、vi /etc/samba/smb.conf做以下修改 security = user改为 security = share [share] comment = sh...
分类:系统相关   时间:2014-09-26 21:24:48    阅读次数:208
UVA 12338 哈希+二分最长前缀
每个字符串都哈希之后,二个之间二分出最长前缀! 需要注意的是不能用数组存,会暴,用vector就行了。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #include #include #include #include #include #include #define m...
分类:其他好文   时间:2014-09-26 20:26:38    阅读次数:119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!