One day Vasya was sitting on a not so interesting Maths lesson and making an origami from a rectangularamm?×?bmm sheet of paper (a?>?b). Usually the f...
分类:
其他好文 时间:
2015-03-18 14:00:02
阅读次数:
155
using System;using iTextSharp.text;using iTextSharp.text.pdf;using System.IO;namespace iTextSharp.Demo{/**//// /// Making a document with a header con...
分类:
其他好文 时间:
2015-03-18 13:46:35
阅读次数:
334
A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, dependin...
分类:
其他好文 时间:
2015-03-17 20:09:22
阅读次数:
135
uva 357 Let Me Count The Ways
After making a purchase at a large department store, Mel's change was 17 cents. He received 1 dime, 1 nickel, and 2 pennies. Later that day, he was shopping at a c...
分类:
其他好文 时间:
2015-03-15 16:59:14
阅读次数:
118
题目地址:POJ3666
dp[i][j]表示第i位时,值为j时的最小代价。因为j太大,由于要改变值的话,变到与之最近的值相同是最优的,所以可以离散化,这样,j对应了各个值得下标。复杂度O(n^2)。
代码如下:#include
#include
#include
#include
#include <algorith...
分类:
其他好文 时间:
2015-03-13 10:58:05
阅读次数:
154
这是2014年nips workshop的一篇paper。这个paper号称他们提出了invariant dropout,可以对inputs和activation units的additive shift transform(我理解的其实就是加additive noise)具有不变性。通常如果在每一...
分类:
其他好文 时间:
2015-03-10 16:58:38
阅读次数:
162
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPI...
分类:
其他好文 时间:
2015-03-09 14:11:13
阅读次数:
290
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making the payment, the chain can be cut at any position ...
分类:
其他好文 时间:
2015-03-05 17:00:26
阅读次数:
144
A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, dependin...
分类:
其他好文 时间:
2015-02-27 00:15:02
阅读次数:
199
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making ...
分类:
其他好文 时间:
2015-02-22 09:57:19
阅读次数:
199