A:求区间内素因子个数等于n的数有多少个解题思路:筛法解题代码: 1 // File Name: a.cpp 2 // Author: darkdream 3 // Created Time: 2015年01月18日 星期日 13时54分20秒 4 5 #include 6 #include 7 ....
分类:
其他好文 时间:
2015-01-21 23:48:41
阅读次数:
173
A:交换一个数的两位,问能得到最大和最小的数是多少。水题: 1 // File Name: a.cpp 2 // Author: darkdream 3 // Created Time: 2015年01月10日 星期六 17时16分44秒 4 5 #include 6 #include 7 #in....
分类:
其他好文 时间:
2015-01-21 19:35:26
阅读次数:
177
题目描述:
Autocomplete25 points
Since you crave state-of-the-art technology, you've just purchased a phone with a grea...
分类:
其他好文 时间:
2015-01-21 10:21:20
阅读次数:
261
题目描述:
Winning at Sports25 points
In the game of Sports, the object is have more points than the other team after a cer...
题目描述:
Homework10 points
Your first-grade math teacher, Mr. Book, has just introduced you to an amazing new co...
分类:
其他好文 时间:
2015-01-21 08:59:29
阅读次数:
158
给一个区间,求该区间内 质因子个数等于k的数 的个数。
暴力预处理一下啦
#include
#include
using namespace std;
const int maxn=10000010;
bool pri[maxn];
int cnt[maxn];
void init()
{
memset(pri,1,sizeof pri);
memset(cnt,0,s...
分类:
其他好文 时间:
2015-01-19 15:47:37
阅读次数:
179
Since you crave state-of-the-art technology, you've just purchased a phone with a great new feature: autocomplete! Your phone's version of autocomplete has some pros and cons. On the one hand, it's ve...
分类:
其他好文 时间:
2015-01-19 15:45:02
阅读次数:
180
In the game of Sports, the object is have more points than the other team after a certain amount of time has elapsed. Scores are denoted by two hyphen-separated integers. For example, scores may inclu...
Glusterfshackerguide内容摘自如下网页,这些网页已经无法访问,故整理提供一个副本,供大家参考学习,欢迎交流。转载资料:[1]Translator101Lesson1:SettingtheStage,http://hekafs.org/index.php/2011/11/translator-101-class-1-setting-the-stage/[2]Translator101Lesson2:..
分类:
其他好文 时间:
2015-01-07 19:10:12
阅读次数:
200
俗话说“30岁是20岁的重生”,但这句话并不总是正确的——事实上,在软件开发行业似乎与之相反。尽管有的开发者在30岁时候才刚刚起步,但很多程序员平均在29岁之后就开始感到前途迷茫。 问题来源于Hacker News近日发表的一篇新闻调查:老程序员会发生什么样的转变?该问题引发了大家的激烈讨论,许多....
分类:
其他好文 时间:
2014-12-30 18:38:13
阅读次数:
130