终于又回到熟悉的Round了 数学 A - Pouring Rain 设个未知数,解方程,还好没有hack点 数学 B - Coat of Anticubism 题意:求增加最小长度的一根木棍,使得构成一个多边形。 分析:那么构成三角形,原来n条木棍分成A,B两边,A和B接近(A<=B),那么另一条 ...
分类:
其他好文 时间:
2016-04-30 15:28:12
阅读次数:
163
传送门
Matrix
Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 311 Accepted Submission(s): 142
Problem D...
分类:
其他好文 时间:
2016-04-29 20:09:16
阅读次数:
176
D. Subway A subway scheme, classic for all Berland cities is represented by a set of n stations connected by n passages, each of which connects exactl ...
分类:
移动开发 时间:
2016-04-29 14:39:19
阅读次数:
266
E. XOR and Favorite Number Bob has a favorite number k and ai of length n. Now he asks you to answer m queries. Each query is given by a pair li and r ...
分类:
编程语言 时间:
2016-04-29 00:08:31
阅读次数:
245
C. Little Artem and Random Variable Little Artyom decided to study probability theory. He found a book with a lot of nice exercises and now wants you ...
分类:
其他好文 时间:
2016-04-28 16:52:55
阅读次数:
186
圆角矩形 常用作一些组件的背景 构造函数: RoundRectShape(float[] outerRadii, RectF inset, float[] innerRadii) Specifies an outer (round)rect and an optional inner (round) ...
分类:
其他好文 时间:
2016-04-27 15:35:29
阅读次数:
146
1.String 操作对象时会重新分配堆内存,栈内存的引用会重新指向新的堆内存 2.StringBuffer(字符串缓存区) 操作的对象一直都是一个 3.Math Math.max(xx,xx); Math.min(xx,xx); Math.round(x);四舍五入 4.Arrays Arrays ...
分类:
编程语言 时间:
2016-04-27 00:14:07
阅读次数:
179
A - Little Artem and Presents 1 2 1 2这样加就可以了 B - Little Artem and Grasshopper 水题,暴力模拟一下 构造 C - Little Artem and Matrix 倒过来做,循环也反着来 ...
分类:
其他好文 时间:
2016-04-26 14:07:44
阅读次数:
232