??
VS2013无法链接到TFS(Visual studio online),错误TF31001,TF31002
TF31002: Unable to connect to VisualStudio Online with VS 2013
but I can using web access - Windows 8.1.
FIX:
1. Close all i...
分类:
Web程序 时间:
2014-07-22 23:05:53
阅读次数:
531
给出一个森林,每棵树均为一组物品,首先推出每棵树可以组成的物品种类。
然后是基本的分组背包模板。
即 最外层枚举组数,次外层枚举背包容量,内层枚举物品体积。
对于每棵树有 ans[root][i+j] = ans[root][ i ] + ans[son][ j ]。
题水数据也水,不多说了。
#include
#include
#include
#include
#in...
分类:
其他好文 时间:
2014-07-22 23:05:52
阅读次数:
387
最近在做3DES加密,在本地window下面运行ok的程序,放到linux环境上竟然报错:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede/CBC/PKCS5Padding
at javax.crypto.Cipher.getInstance(Ciphe...
分类:
编程语言 时间:
2014-07-22 23:05:35
阅读次数:
1021
在我们ios的开发中gdataxml是一个常用的开源实现,很多第三方的库在实现里也会加入它的源码。我们在使用此类库或者直接使用gdataxml库时,切记要在工程中引入libxml2这个框架,否则编译会报错,提示类似下面:
Undefined symbols for architecture armv7:
"_xmlDocDumpMemory", referenced from: xxx
...
分类:
移动开发 时间:
2014-07-22 23:04:33
阅读次数:
329
AF解析json出错:
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)"
(JSON text did not start with array or object and option to allow fragments not set....
分类:
其他好文 时间:
2014-07-22 23:04:13
阅读次数:
400
So, the New Year holidays are over. Santa Claus and his colleagues can take a rest and have guests at last. When two "New Year and Christmas Men" meet, thear assistants cut out of cardboard the letter...
分类:
其他好文 时间:
2014-07-22 23:03:53
阅读次数:
521
1.
“开始→运行”,输入CMD,然后在MS-DOS 提示符后键入:net statistics workstation
指令输出信息的第一行,就是计算机上次启动的时间
2.
在Windows 03中:单击“开始→程序→附件→系统工具→系统信息”命令,在“系统信息”程序窗口中显示的“Uptime”,就是Windows 98自开机以来运行的时间,精确到秒。在打开的“系统信息”窗口中,可...
分类:
其他好文 时间:
2014-07-22 23:03:33
阅读次数:
313
这样的题目虽然不难,但是要构建个数学公式还真不容易的。
做多了,居然有感觉了,可以感知到大概公式是什么样的,然后验证它。
本题公式就是:
S = n + (n-1) + (n-2) * 2 + (n - 3) * 3 ...
至于怎么想出来的?...
分类:
其他好文 时间:
2014-07-22 23:03:15
阅读次数:
276
string path = Server.MapPath("copycode/code.txt");
string[] allCodeLine = System.IO.File.ReadAllLines(path, System.Text.Encoding.UTF8);
System.Text.StringBuilder strb = new Sys...
分类:
Web程序 时间:
2014-07-22 23:02:54
阅读次数:
366