2010年4月6日
摘要: Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 square miles each year, due to erosion caused by the Mississippi River. Since Fred is hoping to live in this house the rest of his life, he needs to know if his land is going to be lost to erosion. After doing more research, Fred has learned that the land that is being lost forms a semicircle. This sem 阅读全文
posted @ 2010-04-06 19:44 步碎酒散花醉 阅读(237) 评论(0) 推荐(0)
摘要: Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial portfolio and solve his financing problems. The first step is to figure out what's been going on with his money. Larry has his bank account statements and wants to see how much money he has. Help Larry by writing a program to take his closing balance from each of the past twelve months and calculate his average account 阅读全文
posted @ 2010-04-06 19:40 步碎酒散花醉 阅读(194) 评论(0) 推荐(0)
摘要: How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpendicular to the table.) With two cards you can make the top card overhang the bottom one by half a card length, and the bottom one overhang the table by a third of a card length, for a total maximum overhang of 1/2 + 1/3 = 5/6 card lengths. In general you can make n cards overhang by 1/2 + 1/3 + 1/4 + ... + 1/(n + 1) ca 阅读全文
posted @ 2010-04-06 19:13 步碎酒散花醉 阅读(455) 评论(0) 推荐(0)
摘要: Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the University of Waterloo by dialing the memorable TUT-GLOP. Sometimes only part of the number is used to spell a word. When you get back to your hotel tonight you can order a pizza from Gino's by dialing 310-GINO. Another way to make a telephone number memorable is to group the digits in a memorable way. You could order your 阅读全文
posted @ 2010-04-06 19:06 步碎酒散花醉 阅读(253) 评论(0) 推荐(0)
摘要: Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems. This problem requires that you write a program to compute the exact value of Rn where R is a real number ( 0.0 R 99.999 ) and n is an integer such that 0 n = 25. 阅读全文
posted @ 2010-04-06 18:46 步碎酒散花醉 阅读(450) 评论(0) 推荐(0)
2009年12月20日
摘要: 应该说 在对F#有了很长时间的概念之后,终于开始下定决心学习它了。 刚刚开始,感觉函数式编程语言的风格果然不是一般的诡异,不是一般的精简,简而言之 很好很强大。 准备写一份F#初级教程,在我对F#有了简单的了解之后。写教程也是对自己的一个锻炼吧。 关于F#的资料,我搜集到得,这里罗列一些: Foundations of F# Expert F# F# Specification 白皮书 Funct... 阅读全文
posted @ 2009-12-20 15:33 步碎酒散花醉 阅读(271) 评论(0) 推荐(0)
2009年11月2日
摘要: 东大之最 简而言之 投票 功能比校内投票略微强大 实现: ASP.Net+JavaScript+SOAP+WebService+JQuery UIhttp://herald.seu.edu.cn/TopSEU/东大的同学们可以登录今天把邮件的新鲜事发送搞定了 图片压缩搞定了 阅读全文
posted @ 2009-11-02 21:54 步碎酒散花醉 阅读(239) 评论(0) 推荐(0)
2009年10月6日
摘要: 网站改版,用户采用东南大学统一身份认证系统,要实现多个asp.net应用程序间的Session共享。查阅资料N多,多不可行,可能可行的(包括微软官方方法)都需要改动应用程序本身很多...麻烦!很不悦!最终,找到一个解决方案...不过估计微软会不悦。大致思路:采用SqlServer方式存储Session,分析数据库表结构、原理、流程,大致可以得到SqlServer存储Session的方法:表结构:A... 阅读全文
posted @ 2009-10-06 05:54 步碎酒散花醉 阅读(4588) 评论(11) 推荐(1)
2009年9月17日
摘要: 基本的聊天过程是这个样子的:1.他先看了下分工,对手机银行感兴趣了~2.我说我从头开始演示吧 他说可以3.演示到使用工具那张PPT 他开始对工具产生了强烈的兴趣4.他说Flex没用过,我开始扯Flex RIA air 起因经过结果5.他说我们用Enterprise Architect 7.1 问这个东西好不好用 正反工程代码的效率 我说很好 基本没啥问题 只是水平有限6.他对TortoiseSVN... 阅读全文
posted @ 2009-09-17 15:56 步碎酒散花醉 阅读(365) 评论(1) 推荐(0)
2009年8月21日
摘要: 狠心把Vista删了装Windows 7,想着再花三天时间装软件配环境,没想到问题多多,花了5天时间... 记录下,分享下~免得误入歧途。装Windows 7用MSDN 原版Win7 (7600.16385.090713-1255_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD),也就是Windows 7RTM 英文版。激活问题严重,考虑... 阅读全文
posted @ 2009-08-21 15:38 步碎酒散花醉 阅读(7134) 评论(64) 推荐(5)