08 2011 档案

摘要:Problem Description 新年快到了,“猪头帮协会”准备搞一个聚会,已经知道现有会员N人,把会员从1到N编号,其中会长的号码是N号,凡是和会长是老朋友的,那么该会员的号码肯定和N有大于1的公约数,否则都是新朋友,现在会长想知道究竟有几个新朋友?请你编程序帮会长计算出来。 阅读全文
posted @ 2011-08-14 10:47 丶Blank 阅读(444) 评论(0) 推荐(1)
摘要:前两天偶然间听到一首广告歌,旋律很好听,就上网google之,找了半天只找到一个可以试听的http://www.umpla.com/#/browse/browsed-results.aspx?SelectedCDId=6761,老外对版权保护真是重视啊,注册之后还要等他联系你确认用途再给你下载权限。我等了两三天,他都没联系我,我就只好去浏览器cache里翻,功夫不负有心人,还真被我翻到了。 阅读全文
posted @ 2011-08-09 18:59 丶Blank 阅读(278) 评论(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 阅读(280) 评论(0) 推荐(0)
摘要:好巧啊,今天正好七夕。 Problem Description 七夕节那天,月老来到数字王国,他在城门上贴了一张告示,并且和数字王国的人们说:"你们想知道你们的另一半是谁吗?那就按照告示上的方法去找吧!" 人们纷纷来到告示前,都想知道谁才是自己的另一半.告示如下: 阅读全文
posted @ 2011-08-06 10:40 丶Blank 阅读(327) 评论(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 阅读(551) 评论(0) 推荐(0)