Once upon a time there was a prince who wanted to marry a real princess.从前,有个王子想和真正的公主结婚。 He looked all over the country.他找遍了整个国家。 But he could not fi ...
分类:
移动开发 时间:
2019-05-03 14:17:41
阅读次数:
142
Prince and Princess Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2336 Accepted Submission(s): ...
分类:
其他好文 时间:
2019-04-19 19:54:44
阅读次数:
169
Le cinquième jour, toujours grâce au mouton, ce secrèt de la vie du petit prince me fut révélé. Il me demanda avec brusquerie, sans préambule, comme l ...
react-native-page-scrollview对ScrollView的封装,可以很方便的实现水平,垂直分页轮播效果.而且可以自定义分页宽高,和侧边View的旋转,透明度,大小等.对于原生的ScrollView只支持水平的整屏的分页,而且我看github上也没有相应的组件.所以就自己封装了一个.github地址:https://github.com/geek-prince/react-na
分类:
其他好文 时间:
2018-10-06 23:41:01
阅读次数:
412
[题目链接] https://codeforces.com/contest/986/problem/E [算法] X到Y的路径积 , 可以转化为X到根的路径积乘Y到根的路径积 , 除以LCA到根的路径积 , 再除以LCA父节点到根的路径积 考虑如何计算根到X路径上每个点与Value的GCD之积 不妨 ...
分类:
其他好文 时间:
2018-10-04 09:39:24
阅读次数:
172
A prince of the Science Continent was imprisoned in a castle because of his contempt for mathematics when he was young, and was entangled in some math ...
分类:
其他好文 时间:
2018-09-16 16:03:42
阅读次数:
206
A prince of the Science Continent was imprisoned in a castle because of his contempt for mathematics when he was young, and was entangled in some math ...
分类:
其他好文 时间:
2018-09-15 20:08:54
阅读次数:
279
真是棒棒哒!!!深圳地铁prince,你听到了吗???(PS:犯什么呆萌?还不滚去刷题?) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table fi ...
分类:
其他好文 时间:
2018-09-07 19:17:42
阅读次数:
201
【Problem description】 Prince 对他在这片大陆上维护的秩序感到满意,于是决定启程离开艾泽拉斯。在他动身之前,Prince决定赋予King_Bette最强大的能量以守护世界、保卫这里的平衡与和谐。在那个时代,平衡是个梦想。因为有很多奇异的物种拥有各种不稳定的能量,平衡瞬间即被 ...
分类:
其他好文 时间:
2018-08-03 10:35:17
阅读次数:
157
我很喜欢这道题。 题目大意: 给出一棵带点权树。对每个询问$ u,v,x $,求$\prod_{i \in P(u,v)}gcd(ai,x)$。其中$ P(u,v) $表示$ u $到$ v $的路径。 题目分析: 注意到权值大小不会超过$ 10^7 $,这似乎是在提示我们进行线性筛和质因数分解。我 ...
分类:
编程语言 时间:
2018-06-02 16:36:28
阅读次数:
225