码迷,mamicode.com
首页 >  
搜索关键字:money    ( 1618个结果
杂记c-----小写金额转化成大写数字;点击表格table时,当前被点击的tr行变色,其它行不变色;input隐藏显示
public string chang(string money) { //将小写金额转换成大写金额 double MyNumber = Convert.ToDouble(money); Stri...
分类:其他好文   时间:2015-08-19 10:58:11    阅读次数:151
用一句Linq把一个集合的属性值根据条件改了,其他值不变
第一次发博。 - -刚无聊看到群里一位朋友在提问,大晚上没人解答,遂自己默默打开了VS,敲起了代码。问题:请问怎么将集合newFoods中Name含有"包子"的Number+1,LINQ可以一句话写出来 ?List newFoods = new List{ new Food { Money =...
分类:其他好文   时间:2015-08-19 01:58:49    阅读次数:101
POJ 1251 Jungle Roads (最小生成树)
POJ 1251 Jungle RoadsDescription The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ago. But the jung...
分类:其他好文   时间:2015-08-17 21:54:22    阅读次数:107
LightOj 1112 Curious Robin Hood(线段树||树状数组)
Curious Robin Hood Robin Hood likes to loot rich people since he helps the poor people with this money. Instead of keeping all the money together he does another trick. He keeps n sacks where h...
分类:编程语言   时间:2015-08-17 19:38:35    阅读次数:172
MySQL事务及触发器
目录(?)[+]事务提交或回滚常见的事务指令事务的特点ACID触发器创建触发器管理触发器事务create table swpu(id int primary key auto_increment,money decimal(10,2) comment '学费');insert into swpu v...
分类:数据库   时间:2015-08-17 13:55:54    阅读次数:187
hdu 1203 01背包 I need a offer
hdu 1203 01背包 I need a offer题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1203题目大意:给你每个学校得到offer的概率以及花费,给定money,求得到至少一份offer的最大概率。简单的01背包 1 #include ...
分类:其他好文   时间:2015-08-15 17:58:03    阅读次数:107
Lettcode_198_House Robber
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/47680663 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money...
分类:其他好文   时间:2015-08-15 13:34:40    阅读次数:208
LightOj_1079 Just another Robbery
题目链接题意: 抢银行(这个背景最爱了), 有n家银行, 每家银行抢劫被抓的概率是p[i],你认为当你被抓的概率低于P的时候是安全的。 问, 你最多能抢劫到多少money。思路: 抽象成背包问题, 每家银行只有两种选择, 要么抢, 要么不抢。 被抓的概率有点难求, 因为还要考虑之前没有被抓。...
分类:其他好文   时间:2015-08-12 23:10:09    阅读次数:118
富家论坛,资讯
:http://bbs.pinggu.org/forum-103-1.htmlhttp://tieba.baidu.com/f?kw=%B8%BB%BA%C0http://bbs.icxo.com/forum-1952-1.htmlmsn: http://money.msn.com.cn/rich/...
分类:其他好文   时间:2015-08-12 00:58:06    阅读次数:186
mysql 存储过程中sum 结果赋值给变量的坑
CREATE?PROCEDURE?`hejin`.`pro_redeem_check`(IN?gpid?int) BEGIN SLELECT?SUM(amount)?INTO?@money?FROM?assets?WHERE?gpid?=?gpid; SLELECT?@money; END @money 一直是所有的总和而不是gpid的总...
分类:数据库   时间:2015-08-11 19:30:16    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!