DescriptionSome of Farmer John’s N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairstyle, FJ wants to count the number of other cows that can see t...
分类:
其他好文 时间:
2015-05-07 22:16:34
阅读次数:
168
Description
Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad days influent people’s memories about some period of li...
分类:
其他好文 时间:
2015-05-07 22:12:48
阅读次数:
198
@ECHO OFFREM 判断文件是否存在IF EXIST example.txt ECHO found itREM 组合命令和js的短路径操作类似DIR example.txt && ECHO found it tooREM 追加方式到处内容到文件ECHO not bad day >> exmpl...
分类:
其他好文 时间:
2015-05-07 20:15:46
阅读次数:
123
POST http://localhost:8080/purchase/purchase-apply/update.htm 400 (Bad Request)n.ajaxTransport.k.cors.a.crossDomain.sendn.extend.ajax(anonymous functi...
分类:
Web程序 时间:
2015-05-07 16:28:36
阅读次数:
274
java.lang.UnsupportedClassVersionError: Bad version number in .class file造成这种过错是ni的支撑Tomcat运行的JDK版本与支撑application运行的JDK版本不一致导致的.把它们的JDK版本改成一致步骤如下:1.Wi...
分类:
编程语言 时间:
2015-05-07 12:02:51
阅读次数:
138
技术在于分享,今天为大家带了的是一篇生产环境中排错的文章,希望对大家以后在工作中排错有参考意义。不说了直接上干货:问题描述:客户设置N条计划任务每天定期备份对应数据库及相关日志文件等信息,在域策略到期后更改域账户密码信息后,在各个服务器端更新凭据验证后所有服..
分类:
其他好文 时间:
2015-05-06 18:13:41
阅读次数:
487
这题,也是简单的最小生成树。只是求解的是费用最大,而且可能出现不能形成一棵树的情况就输出 -1.
水题,直接附代码:
#include
#include
#include
using namespace std;
class data
{
public:
int from, to, cost;
};
data Edge[20005];
int par[10005];
int N, ...
分类:
其他好文 时间:
2015-05-06 15:12:39
阅读次数:
104
* [PHP: a fractal of bad design][1] * [YourLanguageSucks][2] * [PHPWTF][3] [1]: http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ [2]: https://wiki.theory.org/YourLanguageSucks#PHP_sucks_b...
分类:
Web程序 时间:
2015-05-05 20:00:28
阅读次数:
99
有时候进入到Git仓库执行命令:
git status
显示:
fatal: bad object HEAD
直接:
git pull origin hongchangfirst
将远程分支的内容重新sync下来即可。...
分类:
其他好文 时间:
2015-05-04 20:17:26
阅读次数:
264
我在win7上用IDLE编写了一个python文件(MyTopo.py),但是用putty传到VM中的ubuntu系统中,用 ./MyTopo方式执行。显示:/bin/sh^M: bad interpreter: No suchfile ordirectory。但是用 pythonMyTopo.py...