在搞ACM的时候遇到大数相乘的问题,在网上找了一下,看到了一个c++版本的http://blog.csdn.net/jianzhibeihang/article/details/4948267用java搞了一个版本这里说一下思路将数字已字符串形式接收,转换成int[]整型数组,然后num1[],nu...
分类:
编程语言 时间:
2014-10-30 20:54:25
阅读次数:
210
修改字段名Exec sp_rename 'zxchem_Suggest.End_Date','Yj_Finish_Date','Column'修改字段长度Alter Table zxchem_Suggest Alter Column Yj_Finish_Date Varchar(10) Not Nu...
分类:
数据库 时间:
2014-10-30 08:16:55
阅读次数:
258
这个吧,说简单也简单,说难吧我捣鼓了两天才弄出来,真是头发都急白了。其实只要一个网址就搞定了,嘿嘿http://www.lfd.uci.edu这里面有你需要的任何东西,当你运行python import 的时候提示缺什么,你就到这里下载安装就可以了测试下列语句就可以验证是否安装成功:import m...
分类:
编程语言 时间:
2014-10-29 23:42:17
阅读次数:
277
NumPy 下载地址:http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/SciPy下载地址:http://sourceforge.net/projects/scipy/files/scipy/0.14.0/Matplotlib下载地址:h...
分类:
编程语言 时间:
2014-10-29 19:01:04
阅读次数:
478
先附代码:(简单地说就是给出一个矩阵代表2048游戏的一个状态以及一个方向,输出往这个方向移动之后的矩阵)
#include
#include
#include
using namespace std;
int main()
{
int T;
ifstream ifile("B-large-practice.in");
ofstream ofile("out1.txt");
int nu...
分类:
其他好文 时间:
2014-10-29 13:08:07
阅读次数:
284
人艰不拆的小强,把不消化的东西,反刍。是这样写吗void main(){ int i=0; for(;i<100;++i) { cout<<"wu ri san xin wu shen:nu li fou?"<<endl; }}//善始善终尝试发表博客
分类:
其他好文 时间:
2014-10-29 12:18:33
阅读次数:
144
本文通过代码介绍了使用Matplotlib绘图时如何为X轴添加刻度及设置显示文本的方法。
分类:
其他好文 时间:
2014-10-29 00:00:20
阅读次数:
794
(2)解锁方法alter system kill session '878,1773'; /*878为SID,1773为SERIAL#*/select /*+ rule */ s.username, decode(l.type,'tm','table lock','tx','row lock',nu...
分类:
其他好文 时间:
2014-10-28 21:34:35
阅读次数:
260
Copy yourSqrtfunction from the earlier exercises and modify it to return anerrorvalue.Sqrtshould return a non-nil error value when given a negative nu...
分类:
其他好文 时间:
2014-10-28 21:22:45
阅读次数:
155
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-10-26 21:10:30
阅读次数:
170