码迷,mamicode.com
首页 >  
搜索关键字:linq sum    ( 28189个结果
日历类
1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: using System.Text.RegularExpressions; 6: using Sy...
分类:其他好文   时间:2014-05-09 23:52:24    阅读次数:543
Summation of primes
是我算法不对,还是笔记本CPU太差?我优化了两次,还是花了三四个小时来得到结果。在输出上加1就是最终结果。The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two mil...
分类:其他好文   时间:2014-05-09 16:20:08    阅读次数:295
正在进行中效果
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; ....
分类:其他好文   时间:2014-05-09 16:00:14    阅读次数:209
企业应用开发ERP项目中应用到的技术和工具
一、基础技术选型 C# .NET 3.5/4.0 这两个版本的.NET已经相当方便(Linq, Lambda,Parallel),语法简洁,配合WCF和WF两项技术,可以满足快速开发,维护方便的目标。 Win Form 因ERP项目涉及大量的表单(Entry),查询(Enquiry),报表(Repo...
分类:其他好文   时间:2014-05-09 15:56:54    阅读次数:352
C# 虚方法的重载 new 与 virtual
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace OverrideTest{ class A {...
分类:其他好文   时间:2014-05-09 13:43:24    阅读次数:291
Leetcode | Path Sum I && II
Path Sum IGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the gi...
分类:其他好文   时间:2014-05-09 13:21:59    阅读次数:320
Csharp 高级编程 C7.1.2
第七章 代理(1)一、代理要声明二、代理使用步骤声明代理初始化代理(使用 实例的方法名 作为参数)使用代理代码示例:/*C7.1.2*/using System;using System.Collections.Generic;using System.Linq;using System.Text;...
分类:其他好文   时间:2014-05-09 10:03:41    阅读次数:449
bzoj 1010,1011
1011:#include #include #include #include #include using namespace std;const int maxN = 100001;const double eps = 1e-7;int n;double m[maxN],sum[maxN];d...
分类:其他好文   时间:2014-05-09 08:36:06    阅读次数:303
同步,异步,回调例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;using System.Run...
分类:其他好文   时间:2014-05-09 07:46:58    阅读次数:370
杭电oj 1001
#includeusing namespace std;int main(){ int n = 0, sum; while (cin>>n) { sum = 0; // 这里要清零 for (int i =0; i <= n; i++) {...
分类:其他好文   时间:2014-05-09 05:38:17    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!