本月博客排行
-
第1名
青否云后端云 -
第2名
vipbooks -
第3名
e_e - kingwell.leng
- lemonhandsome
- silverend
- jveqi
- xiangjie88
- tanling8334
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- 解宜然
- zhangdaiscott
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- gdpglc
- vipbooks
- ssydxa219
- wallimn
- ranbuijj
- 淡看人生
- javashop
- hanbaohong
- jickcai
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- ouanui
- silverend
- jveqi
最新文章列表
Question 2a String Containing
After reading the suggested solutions of the problem , there is a very interesting solution: use a different prime number to indicate a different alphabet, go through the first string, multiply all th ...
Output the k-th Prime Number
问题:输出第k个素数(1<=k<=10000)。
时间要求:必须在50ms内完成计算。
实现代码:
#define MAX 105000
unsigned long r[MAX],p[10000],n,t;
int main(){
int i,j,k,m;
for(i=0;i<MAX;++i) r[i]=i;
for(i=0;i<MAX;++i) ...