时间限制: 1 s 空间限制: 128000 KB 题目等级 : 青铜 Bronze 题目描述 Description 回文数是指从左向右念和从右像做念都一样的数。如12321就是一个典型的回文数。 给定一个进制B(2<=B<=20十进制),输出所有的大于等于1小于等于300且它的平方用B进制表示时 ...
分类:
其他 时间:
2017-02-01 21:38:50
收藏:
0 评论:
0 赞:
0 阅读:
278
jquery fullpage ...
分类:
其他 时间:
2017-02-01 21:38:37
收藏:
0 评论:
0 赞:
0 阅读:
205
目标:在产品灰度或者发布后,能快速收集用户反馈信息,跟踪问题。并做每个迭代的反馈跟进,反思和追踪问题原因,如何避免等问题。 途径:爬虫获取bbs的反馈信息 以浏览器为例子: 1.技术分析,获取用户反馈爬虫用的是Jsoup,看下列关键代码: spring添加定时任务 2.当日概览 3.迭代分析 负声量 ...
分类:
其他 时间:
2017-02-01 21:38:11
收藏:
0 评论:
0 赞:
0 阅读:
217
参考过仰望高端玩家的小清新的代码。。。 思路:1.按字典序对输入的字符串抽取字符,id[字母]=编号,id[编号]=字母,形成双射 2.邻接表用两个vector存储,存储相邻关系 3.先尝试字母编号字典序最小的排列,此为next_permutation的最上排列 4.在最理想的情况下都不能得到比当前 ...
分类:
其他 时间:
2017-02-01 21:37:51
收藏:
0 评论:
0 赞:
0 阅读:
185
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:
其他 时间:
2017-02-01 21:37:09
收藏:
0 评论:
0 赞:
0 阅读:
169
Figure 1 gives an example of a course for a street race. You see some points, labeled from 0 to N (here, N=9), and some arrows connecting them. Point ...
分类:
其他 时间:
2017-02-01 21:36:48
收藏:
0 评论:
0 赞:
0 阅读:
229
You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ve ...
分类:
其他 时间:
2017-02-01 21:36:28
收藏:
0 评论:
0 赞:
0 阅读:
371
一 、Spring容器最基本的功能 1. 读取配置文件 2. 校验配置文件的正确性 3. 将配置文件信息加载到内存 4. 通过反射实例化bean对象 5. 构建系统 二 、核心类关系图 图1-1 DefaultListableBeanFactory类图 图1-2 XmlBeanDefinitionR ...
分类:
编程语言 时间:
2017-02-01 21:36:10
收藏:
0 评论:
0 赞:
0 阅读:
284
用线段树合并水了这题。 ...
分类:
其他 时间:
2017-02-01 21:35:47
收藏:
0 评论:
0 赞:
0 阅读:
357
记录在学习Javascript (ECMAScript5) 中的一些与其他语言的不同之处,本文会不断更新。 里面的知识可能并不太适合有一定经验的Javascript程序员,仅仅但不限于给初学者阅读。 1. null 是一个表示“空”的对象指针 2. undefined 是 null 派生而来的 3. ...
分类:
编程语言 时间:
2017-02-01 21:34:53
收藏:
0 评论:
0 赞:
0 阅读:
192
import java.io.IOException; import javax.management.RuntimeErrorException; /* RunTime 该类类主要代表了应用程序运行的环境。 getRuntime() 返回当前应用程序的运行环境对象。 exec(String com... ...
分类:
其他 时间:
2017-02-01 21:34:33
收藏:
0 评论:
0 赞:
0 阅读:
221
"I'm completely fine, Char — Dad," I sighed. "There's nothing wrong with me." “我真的都很好,查——爸爸,”我叹气道。“我什么问题都没有。” He turned to the closest EMT for a secon ...
分类:
其他 时间:
2017-02-01 21:34:22
收藏:
0 评论:
0 赞:
0 阅读:
266
# 删除目录下那两个文件之外的所有文件 find dir/ -type f ! -name file1 -a ! -name file2 | xargs rm -f # 删除所有空目录(非空目录不会被删除,但是会出错误信息,可以忽略) find dir/ -type d | xargs rmdir ...
分类:
系统服务 时间:
2017-02-01 20:54:31
收藏:
0 评论:
0 赞:
0 阅读:
330
1简介 1简介 φ函数的值 通式:φ(x)=x(1-1/p1)(1-1/p2)(1-1/p3)(1-1/p4)…..(1-1/pn),其中p1, p2……pn为x的所有质因数,x是不为0的整数。φ(1)=1(唯一和1互质的数(小于等于1)就是1本身)。 (注意:每种质因数只一个。比如12=2*2*3 ...
分类:
其他 时间:
2017-02-01 20:54:12
收藏:
0 评论:
0 赞:
0 阅读:
248
//表示节点的数据结构 struct node { int val; node *lch,*rch; }; //插入数值 node *insert(node *p,int x) { if(p==NULL) { node *q=new node; q->val=x; q->lch=q->rch=NUL... ...
分类:
其他 时间:
2017-02-01 20:53:44
收藏:
0 评论:
0 赞:
0 阅读:
224
step 1 :输入find . -type f (显示当前文件夹中所有文件) step 2 :输入find . -type f -exec ls -l {} \; (在显示上一步的基础上,执行ls -l操作,即ll操作,注意要接\不是/) 但是我们发现虽然ls -l 就是ll ,但是find命令中 ...
分类:
其他 时间:
2017-02-01 20:53:13
收藏:
0 评论:
0 赞:
0 阅读:
190
Puppet简介 IT基础设施自动化管理工具,作者:Luck Kanies,官方站点:www.puppetlabs.com 管理设施的整个生命周期: provisioning、configuration、orchestration、reporting Puppet安装 (1)官方的yum仓库 Cen ...
分类:
其他 时间:
2017-02-01 20:52:54
收藏:
0 评论:
0 赞:
0 阅读:
228
【题目分析】 问题放到了树上,直接链剖+线段树搞一搞。 调了300行+。 (还是码力不够) 【代码】 ...
分类:
其他 时间:
2017-02-01 20:52:43
收藏:
0 评论:
0 赞:
0 阅读:
219
迭代法: 递归法: ...
分类:
其他 时间:
2017-02-01 20:52:28
收藏:
0 评论:
0 赞:
0 阅读:
265
import java.util.Arrays; import java.util.Properties; /* System 系统类 主要用于获取系统的属性数据。 System类常用的方法: arraycopy(Object src, int srcPos, Object dest, int de... ...
分类:
其他 时间:
2017-02-01 20:52:12
收藏:
0 评论:
0 赞:
0 阅读:
223