SOJ1942 ,Foto,数论,排列组合,快速排列组合
The election campaign just started, so PSOS decided to make some propagation. One of the representatives came with a great idea - he proposes to make an photography of their Parliament Club. Unfortunatelly, even after many brie...
分类:
其他好文 时间:
2015-05-08 09:42:58
阅读次数:
170
Maybe you think this problem is about girls and ladies.
But you’re wrong. ‘Left dress’ means ‘Eyes left’. It’s used in armed forces. It will make a square more orderly.
Now several soldiers stand in...
分类:
其他好文 时间:
2015-05-07 22:18:31
阅读次数:
118
果然是数学题,感觉就是阅读题,加上小小的思维How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card l...
分类:
其他好文 时间:
2015-05-07 21:42:12
阅读次数:
123
安装 gearmand 前先装一堆依赖,如下: (boost的版本需要大于 1.39) yum install boost-devel? yum install mysql-devel yum install gperf yum install libevent 安装好依赖后,执行 ./configure,然后 make 遇...
分类:
其他好文 时间:
2015-05-07 17:10:20
阅读次数:
374
在我的Ubuntu15.04上要学习下C++图形,安装FLTK库,下载了fltk-1.3.3文件,编译中报ConfigurecouldnotfindrequiredX11libraries网上查到以下办法:出处UbuntuForumsFLTKisintheubunturepositories,unlessyouhavereasonsnotto,you
caninstallit(Iassumeyoumeanthedevelopmentlib..
分类:
其他好文 时间:
2015-05-07 17:04:08
阅读次数:
121
使用Gnu make工具来管理程序是每个Linux工程师必须掌握的技能。Make能够是整个程序的编译、链接只需要一个命令(make)就可以完成。Make的工作主要依赖一个称为Makefile的文件。文件描述了整个程序的编译,链接等规则。包括:工程中哪些源文件需要编译以及如何编译,如何最后产生我们想要的可执行文件。
makefile主要由规则和变量两部分构成。
规则:
一般规则如下:
tar...
分类:
系统相关 时间:
2015-05-07 16:56:14
阅读次数:
148
简介
1)make:利用 make 工具可以自动完成编译工作。这些工作包括:如果仅修改了某几个源文件,则只重新编译这几个源文件[make通过比对相应的.c文件与.o文件的时间];如果某个头文件被修改了,则重新编译所有包含该头文件的源文件。利用这种自动编译可大大简化开发工作,避免不必要的重新编译。
2)Mackfile:make工具通过一个称为 Mackfile 的文件来完成并自动维护编...
分类:
其他好文 时间:
2015-05-07 14:39:22
阅读次数:
77
??
make常用内嵌函数
1、函数调用
$(function arguments) #$引用的结果就是函数生成的结果
2、Makefile下常用的函数
1)$(wildcard PATTERN) #匹配当前目录下的文件
例如:src=$(wildcard *.c) #匹配当前目录下所有的.c文件
2)$(patsubst PATTERN,REPLACEMENT,T...
分类:
其他好文 时间:
2015-05-07 14:37:18
阅读次数:
173
1. 常见的DOS命令(掌握)d: 回车 盘符切换dir(directory): 列出当前目录下的文件以及文件夹md (make directory) : 创建目录rd (remove directory): 删除目录cd (change directory) 改变指定目录(进入指定目录)...
分类:
编程语言 时间:
2015-05-07 14:24:30
阅读次数:
162
DescriptionVasya is the beginning mathematician. He decided to make an important contribution to the science and to become famous all over the world. ...
分类:
其他好文 时间:
2015-05-07 14:09:02
阅读次数:
93