Mini version:set enc=utf-8 ffs=unix,dos,mac lm=zh_CN.utf-8set nu nowb nocp nowrap ru nobk sm is noswf acd hls autoread set hi=700 mouse=a sel=exclusiv...
分类:
其他好文 时间:
2014-07-25 14:07:21
阅读次数:
265
如果想实现一个阶乘,比如6 * 5 * 4 * 3 * 2 * 1,首先想到的可能是循环遍历。如下: class Program { static void Main(string[] args) { Console.WriteLine("请输入一个数"); int number = Convert...
分类:
其他好文 时间:
2014-07-25 13:58:21
阅读次数:
246
windows下安装模块错误
1)Unable to find vcvarsall.bat :
打开“\Lib\distutils\msvc9compiler.py”
找到 toolskey = “VS%0.f0COMNTOOLS” % version,
直接修改为 toolskey = “VS100COMNTOOLS” (如果是vs2012或者vs2013则要从100改成120)
2...
分类:
编程语言 时间:
2014-07-25 11:17:01
阅读次数:
240
C# wpf程序获取当前程序版本号
///
/// 获取当前系统的版本号
///
///
public static string GetEdition()
{
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToStri...
分类:
其他好文 时间:
2014-07-25 11:06:01
阅读次数:
741
Fibbonacci Number
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 13400 Accepted Submission(s): 6677
Problem Description
Your ...
分类:
其他好文 时间:
2014-07-25 11:05:31
阅读次数:
201
/*Fibbonacci Number
Problem Description
Your objective for this question is to develop a program which will generate a fibbonacci number. The fibbonacci function is defined as such:
f(0) = 0
f(1) ...
分类:
其他好文 时间:
2014-07-25 10:58:11
阅读次数:
136
Comparison-based sorting takes O(nlgn), so hashset is a good idea. After keeping records of all numbers in the hashset, you start checking each number...
分类:
其他好文 时间:
2014-07-25 03:40:54
阅读次数:
305
Two SumGiven 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...
分类:
其他好文 时间:
2014-07-25 03:15:41
阅读次数:
176
的环境配置首先在网上下载UNP的库文件,然后就可以安装学了。我的系统环境:2.6.32-131.0.15.el6.i686 #1 SMP Sat Nov 12 17:30:50 CST 2011 i686 i686 i386 GNU/LinuxLSB Version: :base-4.0-ia32....
分类:
其他好文 时间:
2014-07-25 02:38:54
阅读次数:
222
Java compiler level does not match the version of the installed Java project facet Assuming that you are using the m2e plugin in Eclipse, you‘ll need to specify the?source?and?targetversions as...
分类:
其他好文 时间:
2014-07-25 00:11:14
阅读次数:
223