原文地址:电商术语:客单价、UV、PV、转化率、销售额作者:馨闻莲博 UV(独立访客):Unique Visitor,访问您网站的一台电脑客户端为一个访客。00:00-24:00内相同的客户端只会被计算一次。 PV(访问量):PageView,即页面浏览量或点击量,用户每次刷新即被计算一次。 客单价 ...
分类:
其他好文 时间:
2018-07-12 13:13:12
阅读次数:
37536
POJ 2488 A Knight's Journey Background The knight is getting bored of seeing the same black and white squares again and again and has decided to make ...
分类:
其他好文 时间:
2018-07-11 22:54:25
阅读次数:
221
由于不熟悉HashMap,这道Easy的题做出了Midium的感觉/笑哭。 大体思路没什么特别的,外循环对Input里的每一条进行处理,内循环把每个Subdomain挑出来,并计数到HashMap中。 方法1: 垃圾的一批…但是看了看代码不好再优化了呀。绝望的试了试map.entrySet(),(其 ...
分类:
其他好文 时间:
2018-07-10 17:51:27
阅读次数:
169
题目 地上有一个m行和n列的方格。一个机器人从坐标0,0的格子开始移动,每一次只能向左,右,上,下四个方向移动一格,但是不能进入行坐标和列坐标的数位之和大于k的格子。 例如,当k为18时,机器人能够进入方格(35,37),因为3+5+3+7 = 18。但是,它不能进入方格(35,38),因为3+5+ ...
分类:
其他好文 时间:
2018-07-10 16:44:20
阅读次数:
152
#include <iostream> #include <cstdio>#include <cmath>#include <cstring>#include <algorithm>using namespace std;int n, a[25], visit[25], side, flag = 0 ...
分类:
其他好文 时间:
2018-07-09 16:25:12
阅读次数:
121
http://acm.hdu.edu.cn/showproblem.php?pid=4607 题意 一颗n个顶点的树,现在只想访问其中k个,问最短路径长度为多少。 分析 首先,最短的路径当然是一条链。那么我们需要求树的直径。求法:先从任意一点dfs到最深处v,再以v为根深搜,得到的最长路径便是树的直 ...
分类:
其他好文 时间:
2018-07-09 00:37:37
阅读次数:
166
https://dzone.com/articles/hashmap-performance https://javarevisited.blogspot.com/2016/01/how-does-java-hashmap-or-linkedhahsmap-handles.html ...
分类:
编程语言 时间:
2018-07-06 21:32:48
阅读次数:
147
一、环境centos6.7、oracle11.2,表根据日期按月分区二、测试1、查询表存在索引ind_1(org_id,visit_date,visit_no,patient_id)执行查询语句执行计划如下:查询总计时间大纺:2分40秒左右。2、删除索引ind_1(org_id,visit_date,visit_no,patient_id)dropindexind_1;执行查询语句执行计划如下:查
分类:
其他好文 时间:
2018-06-27 12:10:55
阅读次数:
205
传统的23种模式(没有区分简单工厂与抽象工厂) http://www.cnblogs.com/bluefrog/archive/2011/01/04/1925933.html php设计模式 Interpreter(解释器模式) http://www.cnblogs.com/bluefrog/arc ...
分类:
Web程序 时间:
2018-06-27 00:21:07
阅读次数:
218
#include class Solution { public: int n,m; //标记是否被访问过 vector> visit; // idx(不包括)之前的都已经被访问过了 bool dfs(int i,int j,vector>& board, int idx, string word)... ...
分类:
其他好文 时间:
2018-06-26 16:05:06
阅读次数:
169