天河2号相信大家都知道啦,2013和2014TOP500中都位列榜首,是目前最快的超算,比第2名泰坦-Titan快1倍,天河2号是使用什么样的架构获得此能力的呢,下面我们来了解一下。天河二号的型号为TH-IVB-FEP,使用中央处理器及协处理器的运算架构布局:天河二号共有16,000个运算节点,..
分类:
其他好文 时间:
2014-09-12 02:32:43
阅读次数:
295
From A Chinese Apartment ToWall Street Darling: The Rise Of Alibaba ==>华尔街宠儿Jack Ma speaks in Hangzhou, China, on May 10, 2013. Ma shot to fame as the...
分类:
其他好文 时间:
2014-09-11 22:13:42
阅读次数:
351
1 /* 2 题意:给出立方体的每个顶点的坐标(是由源坐标三个数某几个数被交换之后得到的!), 3 问是否可以还原出一个立方体的坐标,注意这一句话: 4 The numbers in the i-th output line must be a permutation o...
分类:
其他好文 时间:
2014-09-11 16:56:02
阅读次数:
157
在igmpproxy主程序运行之前需要先读取配置文件,igmpproxy的配置文件通常为/etc/igmpproxy.conf或者/var/igmpproxy.conf
其内容如下:
quickleavemode 3phyint ppp0 upstream ratelimit 0 threshold 1phyint br0 downstream ratelimit 0 th...
分类:
其他好文 时间:
2014-09-11 13:54:42
阅读次数:
457
ZOJ 3817 Chinese Knot
题目链接
思路:万万没想到这题直接hash+暴力剪枝就可以了,把4个串正逆都hash出来,然后每次枚举起点去dfs记录下路径即可,剪枝为如果一旦有一点不匹配就不往后搜(这个很容易想到0 0)
代码:
#include
#include
#include
#include
using namespace std;
type...
分类:
其他好文 时间:
2014-09-11 11:16:41
阅读次数:
196
步骤1、首先下载fpdfhttp://www.fpdf.org/en/download.php(本人用的是1.7版本)步骤2、下载中文包http://www.fpdf.org/download/chinese.zip 下载后将文件放到 步骤1文件夹中与fpdf.php同级目录下面步骤3、编辑ex.p...
分类:
Web程序 时间:
2014-09-11 11:03:31
阅读次数:
1178
因为工作需要,写了一个小插件,用于将数据生成表格,并可以在表格中检索内容并定位。css:table { border-collapse:collapse;border-spacing:0; }table th { font-weight:normal; }input,img { border:0;}...
分类:
Web程序 时间:
2014-09-11 11:00:41
阅读次数:
498
题目链接:zoj 3817 Chinese Knot
题目大意:给出四个字符串,对应着同心结的四条边,现在给定一个目标串,可以从任意节点开始移动,问是否可以匹配目标串。
解题思路:用hash将四个字符串的正序和逆序处理出来,然后dfs枚举,每次保留起始位置和移动方向即可。
#include
#include
#include
#include
using namespace...
分类:
其他好文 时间:
2014-09-10 21:10:11
阅读次数:
363
Just installed the KDE on my Ubuntu, and the Internet explorer comes with the KDE is the Konqueror, however the first time I was using the Konqueror found it cannot display the Chinese properly, all becomes gubbish characters, found the solution by google...
分类:
其他好文 时间:
2014-09-10 12:36:20
阅读次数:
253
Chinese Knot
Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge
Chinese knot is a decorative handicraft that began as a form of Chinese folk artifact in the Tang and Song Dynas...
分类:
其他好文 时间:
2014-09-10 09:40:50
阅读次数:
304