码迷,mamicode.com
首页 >  
搜索关键字:linq sum    ( 28189个结果
多线程+缓存计算
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
用.net改写的uploadify多文件上传控件
有图真相: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
错误日志类C#
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
笔试算法题(12):整数的string到int转换 & 两个栈实现队列
出题:将输入的表示整数的字符串转变为对应的整数值;分析:每当右边增加一位,说明之前的sum应该高一个数量级,所以*10。由于这两个实现仅仅考虑正规的、正整数输入,所以需要一个Wrapper函数,其功能 主要处理:符号判断(第一个字符是-,+或者直接是数字);非法输入判断(是否有非"012345678...
分类:其他好文   时间:2014-05-22 04:48:02    阅读次数:268
8.另类方法求1+2+...+n
Another way to calculate sum of 1 to N.
分类:其他好文   时间:2014-05-22 03:33:00    阅读次数:201
nyoj--Divideing Jewels
题意:有十种珠宝用数字表示,现在给你每个珠宝的数量,问可不可以平均分给两个人。解题思路:DFS搜索可以写。将完全背包问题转换为搜索问题。具体代码:#include#include#includeusing namespace std;int num[15],sum;bool dfs(int n,in...
分类:其他好文   时间:2014-05-22 03:26:34    阅读次数:206
WinForm 进度条
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:Windows程序   时间:2014-05-22 02:29:34    阅读次数:504
WPF 实现QQ抖动
//wpf中实现类似于qq的抖动窗效果//前段页面 //后台using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Window...
分类:其他好文   时间:2014-05-22 02:20:32    阅读次数:212
10.排序数组中和为给定值的两个数字
Find 2 numbers with given sum in sorted array.
分类:其他好文   时间:2014-05-22 01:53:17    阅读次数:288
26.打印所有和为S的连续正整数序列
Find continuous sequences between 1 to N whose sum equals to S.
分类:其他好文   时间:2014-05-21 23:59:57    阅读次数:394
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!