码迷,mamicode.com
首页 >  
搜索关键字:linq sum    ( 28189个结果
Silverlight中后台动态生成树菜单
前台 后台:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Net;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windo....
分类:Web程序   时间:2014-05-23 07:21:31    阅读次数:296
C# 中文转拼音类
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace SU{ /// /// 中文转拼音 /// public class PinYin ...
分类:其他好文   时间:2014-05-23 06:46:51    阅读次数:395
calculate the sum of some integers
DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line s...
分类:其他好文   时间:2014-05-23 06:41:47    阅读次数:298
hdu 4825 Xor Sum (建树) 2014年百度之星程序设计大赛 - 资格赛 1003
题目题意:给n个数,m次询问,每次给一个数,求这n个数里与这个数 异或 最大的数。思路:建一个类似字典数的数,把每一个数用 32位的0或者1 表示,查找从高位向底位找,优先找不同的,如果没有不同的,就找相同的。 1 #include 2 #include 3 #include 4 #inclu...
分类:其他好文   时间:2014-05-23 05:22:58    阅读次数:196
”上三角“行列式源代码(改良版,添加了几种特殊情况的特殊处理)
#include#include#includevoid main(){//输入行列式开始int n,i,j,a[20][20],T[20],max[20],b[20],k,q,p,f=2,u=0;float t[20][20],c,sum=1,w[20];cout>n;ifstream infil...
分类:其他好文   时间:2014-05-23 04:28:20    阅读次数:283
【摄影测量学空间后方交会作业】求解程序
【摄影测量学空间后方交会作业】求解程序#include #include#include#includeint main(){ double NJZ(double sum[100][100],double l[10]);double x[10],y[10],X[10],Y[10],Z[10],d,D...
分类:其他好文   时间:2014-05-23 04:26:30    阅读次数:409
2014百度之星资格赛第三题
Xor Sum Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 132768/132768 K (Java/Others) Total Submission(s): 7837    Accepted Submission(s): 3350 Problem Description Zeus 和 Prometheu...
分类:其他好文   时间:2014-05-21 17:02:00    阅读次数:160
LeetCode: Combination Sum II [039]
【题目】 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combination. Note: All numbers (including target) will be ...
分类:其他好文   时间:2014-05-21 15:55:25    阅读次数:259
LeetCode: Combination Sum [038]
【题目】 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimited number of times. Note: All numbers (including target) w...
分类:其他好文   时间:2014-05-21 15:21:28    阅读次数:292
LinQ—扩展方法
概述          本节主要讲解扩展方法,涉及LinQ的具体知识不多。 扩展方法的描述          .net framework为编程人员提供了很多的类,很多的方法,但是,不论.net framework在类中为我们提供了多么多的方法,有时候仍然不能满足我们的需求,例如:你想让字符串对象具有ToPascal方法,含义就是将字符串转化为Pascal格式,并返回,我们知道,.ne...
分类:其他好文   时间:2014-05-21 15:00:25    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!