上一页 1 ··· 20 21 22 23 24
摘要: Problem Description 新年快到了,“猪头帮协会”准备搞一个聚会,已经知道现有会员N人,把会员从1到N编号,其中会长的号码是N号,凡是和会长是老朋友的,那么该会员的号码肯定和N有大于1的公约数,否则都是新朋友,现在会长想知道究竟有几个新朋友?请你编程序帮会长计算出来。 阅读全文
posted @ 2011-08-14 10:47 丶Blank 阅读(434) 评论(0) 推荐(1) 编辑
摘要: 前两天偶然间听到一首广告歌,旋律很好听,就上网google之,找了半天只找到一个可以试听的http://www.umpla.com/#/browse/browsed-results.aspx?SelectedCDId=6761,老外对版权保护真是重视啊,注册之后还要等他联系你确认用途再给你下载权限。我等了两三天,他都没联系我,我就只好去浏览器cache里翻,功夫不负有心人,还真被我翻到了。 阅读全文
posted @ 2011-08-09 18:59 丶Blank 阅读(266) 评论(0) 推荐(1) 编辑
摘要: win+R,输入at XX:XX ntsd -c q -pn XXXX.exe例如,at 16:10:00 ntsd -c q -pn calc.exe或者使用taskkill例如,at 16:10:00 taskkill /F /IM calc.exe同理,也可以实现定时开启程序。 阅读全文
posted @ 2011-08-09 16:24 丶Blank 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 好巧啊,今天正好七夕。 Problem Description 七夕节那天,月老来到数字王国,他在城门上贴了一张告示,并且和数字王国的人们说:"你们想知道你们的另一半是谁吗?那就按照告示上的方法去找吧!" 人们纷纷来到告示前,都想知道谁才是自己的另一半.告示如下: 阅读全文
posted @ 2011-08-06 10:40 丶Blank 阅读(318) 评论(0) 推荐(1) 编辑
摘要: Here is a famous story in Chinese history. "That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse racing with the king and others." "Both of Tian and the king have three horses in different classes, namely, regular, plus, and super. The rule is to have three rounds in a match; each of the horses must be used in one round. The winner of a single round takes two hundred silver dollars from the loser." 阅读全文
posted @ 2011-08-06 10:20 丶Blank 阅读(512) 评论(0) 推荐(0) 编辑
摘要: Problem Description Crixalis - Sand King used to be a giant scorpion(蝎子) in the deserts of Kalimdor. Though he's a guardian of Lich King now, he keeps the living habit of a scorpion like living underground and digging holes. Someday Crixalis decides to move to another nice place and build a new house for himself (Actually it's just a new hole). 阅读全文
posted @ 2011-07-29 11:00 丶Blank 阅读(240) 评论(0) 推荐(1) 编辑
摘要: TortoiseSVN下载xwork的源代码由于xwork的源代码是通过SVN来管理的,所以我们下载source之前要安装SVN的客户端TortoiseSVN(关于TortoiseSVN的安装可以参照另外一篇日志)。1.xwork的官方站点http://www.opensymphony.com/在她的"The Projects"菜单中可以找到XWork和OGNL的链接访问XWorkhttp://www.opensymphony.com/xwork/在打开的页面菜单"Developing XWork"中找到源代码的"Source Respoito 阅读全文
posted @ 2011-06-30 18:13 丶Blank 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Problem Description Ray又对数字的列产生了兴趣: 现有四张卡片,用这四张卡片能排列出很多不同的4位数,要求按从小到大的顺序输出这些4位数。 Input 每组数据占一行,代表四张卡片上的数字(0=数字=9),如果四张卡片都是0,则输入结束。 阅读全文
posted @ 2011-06-22 11:07 丶Blank 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Problem Description 时维九月,序属三秋,辽军大举进攻MCA山,战场上两军正交锋.辽军统帅是名噪一时的耶律-James,而MCA方则是派出了传统武将中草药123.双方经过协商,约定在... 阅读全文
posted @ 2011-04-21 21:31 丶Blank 阅读(407) 评论(0) 推荐(1) 编辑
上一页 1 ··· 20 21 22 23 24