using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Management;using
System.Threading.Tasks;namespace TaskT...
分类:
编程语言 时间:
2014-05-23 08:40:04
阅读次数:
413
有图真相:ASP.NET代码: C#代码: 1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using Syste...
分类:
Web程序 时间:
2014-05-22 05:35:59
阅读次数:
338
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Windows.Forms;using System.IO;namespace WisdomCity.Enti...
分类:
其他好文 时间:
2014-05-22 05:08:36
阅读次数:
271
出题:将输入的表示整数的字符串转变为对应的整数值;分析:每当右边增加一位,说明之前的sum应该高一个数量级,所以*10。由于这两个实现仅仅考虑正规的、正整数输入,所以需要一个Wrapper函数,其功能
主要处理:符号判断(第一个字符是-,+或者直接是数字);非法输入判断(是否有非"012345678...
分类:
其他好文 时间:
2014-05-22 04:48:02
阅读次数:
268
Another way to calculate sum of 1 to N.
分类:
其他好文 时间:
2014-05-22 03:33:00
阅读次数:
201
题意:有十种珠宝用数字表示,现在给你每个珠宝的数量,问可不可以平均分给两个人。解题思路:DFS搜索可以写。将完全背包问题转换为搜索问题。具体代码:#include#include#includeusing
namespace std;int num[15],sum;bool dfs(int n,in...
分类:
其他好文 时间:
2014-05-22 03:26:34
阅读次数:
206
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
//wpf中实现类似于qq的抖动窗效果//前段页面 //后台using System; using
System.Collections.Generic; using System.Linq; using System.Text; using
System.Window...
分类:
其他好文 时间:
2014-05-22 02:20:32
阅读次数:
212
Find 2 numbers with given sum in sorted array.
分类:
其他好文 时间:
2014-05-22 01:53:17
阅读次数:
288
Find continuous sequences between 1 to N whose sum
equals to S.
分类:
其他好文 时间:
2014-05-21 23:59:57
阅读次数:
394