Paint.setStrokeCap(cap) 可以设置点的形状,但这个方法并不是专门用来设置点的形状的,而是一个设置线条端点形状的方法。端点有圆头 (ROUND)、平头 (BUTT) 和方头 (SQUARE) 三种,具体会在下一节里面讲。 Path path = new Path(); path. ...
分类:
其他好文 时间:
2018-09-04 13:42:41
阅读次数:
1162
一、聚合分析简介 1. ES聚合分析是什么? 聚合分析是数据库中重要的功能特性,完成对一个查询的数据集中数据的聚合计算,如:找出某字段(或计算表达式的结果)的最大值、最小值,计算和、平均值等。ES作为搜索引擎兼数据库,同样提供了强大的聚合分析能力。 对一个数据集求最大、最小、和、平均值等指标的聚合, ...
分类:
其他好文 时间:
2018-09-04 01:47:27
阅读次数:
327
J. Sum A square-free integer is an integer which is indivisible by any square number except 111. For example, 6=2?36 = 2 \cdot 36=2?3 is square-free, ...
分类:
其他好文 时间:
2018-09-02 14:36:09
阅读次数:
302
Sum A square-free integer is an integer which is indivisible by any square number except 11. For example, 6 = 2 \cdot 36=2?3 is square-free, but 12 = ...
分类:
其他好文 时间:
2018-09-02 12:34:50
阅读次数:
272
A square_free integer is an integer which is indivisible by any square number except 1.F or example 6=2*3 is square-free ,but 12=2^2*3 is not because ...
分类:
其他好文 时间:
2018-09-01 17:33:13
阅读次数:
154
AIM Tech Round 5 (codeforces上题目编号是1028)(A E) 完全被这次比赛打击,自己真的很渣 战况 依旧3题选手 被构造题坑得好惨 稍稍涨了rating,希望下次比赛好好准备进入蓝名,就可以被div1虐了 题目看题解也很难懂呀 A. Find Square 水题,找出矩 ...
分类:
其他好文 时间:
2018-08-30 18:24:54
阅读次数:
127
Catalan Square 注意的是等于Cn+1 高精度卡特兰数 #include<bits/stdc++.h> #define BASE 10000 #define MAX 100010 using namespace std; struct BigInt{ int num[MAX],len; ...
分类:
其他好文 时间:
2018-08-29 21:26:41
阅读次数:
250
参考“How to Solve the Square-1 | Tutorial”[1]和 Ruwix 的Square-1[2],SQ1魔方的解法是:1)顶底面方形(以顶面为黄色、底面为白色为例)。第一步为顶面调成郁金香Tulip,而底面是雪花snowflake。2)颜色块到面上。即:将所有黄色角块调 ...
分类:
其他好文 时间:
2018-08-28 14:17:08
阅读次数:
255
A 3 x 3 magic square is a 3 x 3 grid filled with distinct numbers from 1 to 9 such that each row, column, and both diagonals all have the same sum. Gi ...
分类:
其他好文 时间:
2018-08-28 13:11:18
阅读次数:
193
【链接】 "我是链接,点我呀:)" 【题意】 在这里输入题意 【题解】 找到左上角。往下一直走,往右一直走走到B边界就好。 中点的话。直接输出中位数 【代码】 cpp include define LL long long define rep1(i,a,b) for (int i = a;i = ...
分类:
其他好文 时间:
2018-08-28 10:35:05
阅读次数:
135