try{}catch(Expection ex){ Response.Write(ex.Message);}
分类:
其他好文 时间:
2014-12-13 10:49:43
阅读次数:
114
题目大意:求n!在k进制下的位数
即
Stirling公式:
数据范围小就暴力,数据范围大套用Stirling公式
注意先利用log来避免数字过大而失精 最后答案要开long long
#include
#include
#include
#include
#include
using namespace std;
const double pi=acos(-1.0),e=ex...
分类:
编程语言 时间:
2014-12-12 16:40:22
阅读次数:
154
For "Object already exists" or "Access denied" errors when installing try opening Control Panel > Programs and Features > View installed updates then ...
自:http://blog.chinaunix.net/u1/47395/showart_1768832.html有个业务需求需要通过curl代理的方式来访问外网百度了一把,测试可以正常使用。记录下来方便后续查找example: 1. http://curl.haxx.se/libcurl/c/ex...
分类:
编程语言 时间:
2014-12-11 18:50:24
阅读次数:
286
??
第一:开启FTP服务器 ftp server enable(系统模式)
第二:创建用户、密码并设置用户的服务类型为ftp (aaa模式)
第三:指定刚刚创建的用户的ftp路径ftp-directory (aaa模式)
举例说明:(环境:ENSP)
第一:
[Huawei]ftp server enable
Info: The FTP server is already ena...
分类:
其他好文 时间:
2014-12-11 17:18:59
阅读次数:
644
1、提示找不到依赖的libxml2库头文件 libxml/parser.h build/obj/util.do: Compiling dynamic object src/simplexml.c:27:27: error: libxml/parser.h: No such file or directory src/simplexml.c:48: error: ex...
分类:
其他好文 时间:
2014-12-11 12:34:53
阅读次数:
216
BUG:
Caused by: java.lang.IllegalStateException: setRenderer has already been called for this instance.
或者NullPointer错误
解决方法:
把setEGLContextClientVersion(2);挪到setRenderer()前面。方法的注释上写到“If this ...
分类:
移动开发 时间:
2014-12-11 01:38:50
阅读次数:
279
{
// Don't sort _queue0, it already comes sorted
std::sort(std::begin(_queueNegZ), std::end(_queueNegZ), compareRenderCommand);
std::sort(std::begin(_queuePosZ), std::end(_queuePosZ), comp...
分类:
编程语言 时间:
2014-12-10 18:02:58
阅读次数:
212
出现上面问题的原因是 c-support 和 a.vim 的插件冲突了,你只要将 a.vim 的两行代码注释掉就可以了链接英文:这里一,这里二翻译:这里操作截图:前提: 使用vundle管理插件
分类:
移动开发 时间:
2014-12-09 21:14:17
阅读次数:
294