Time Limit: 0.5 seconds Memory Limit: 512 mebibytes Mingming loves playing with numbers, and today, someone gives him a permutation of nn : P_1, P_2\l ...
分类:
其他好文 时间:
2017-03-05 23:36:02
阅读次数:
257
Interesting drink Problem Vasiliy likes to rest after a hard work, so you may often meet him in some bar nearby. As all programmers do, he loves the f ...
分类:
其他好文 时间:
2017-03-03 20:55:15
阅读次数:
322
Dylans loves tree Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1611 Accepted Submission(s): ...
分类:
其他好文 时间:
2017-02-19 15:57:45
阅读次数:
182
Feed the dogs Time Limit: 6000MS Memory Limit: 65536K Total Submissions: 20634 Accepted: 6494 Description Wind loves pretty dogs very much, and she ha ...
分类:
其他好文 时间:
2017-02-07 14:10:34
阅读次数:
237
题目描述 Koishi喜欢线段。 她的条线段都能表示成数轴上的某个闭区间。Koishi喜欢在把所有线段都放在数轴上,然后数出某些点被多少线段覆盖了。 Flandre看她和线段玩得很起开心,就抛给她一个问题: 数轴上有个点突然兴奋,如果自己被身上覆盖了超过条线段,这个点就会浑身难受然后把Koishi批 ...
分类:
编程语言 时间:
2017-02-02 19:57:47
阅读次数:
334
题目描述 Koishi决定走出幻想乡成为数学大师! Flandre听说她数学学的很好,就给Koishi出了这样一道构造题: Task1:试判断能否构造并构造一个长度为的的排列,满足其个前缀和在模的意义下互不相同 Taks2:试判断能否构造并构造一个长度为的的排列,满足其个前缀积在模的意义下互不相同 ...
分类:
其他好文 时间:
2017-02-02 17:26:57
阅读次数:
199
[BZOJ4026]dC Loves Number Theory 试题描述 dC 在秒了BZOJ 上所有的数论题后,感觉萌萌哒,想出了这么一道水题,来拯救日益枯竭的水题资源。 给定一个长度为 n的正整数序列A,有q次询问,每次询问一段区间内所有元素乘积的φ(φ(n)代表1~n 中与n互质的数的个数) ...
分类:
其他好文 时间:
2017-01-30 22:50:51
阅读次数:
255
Oleg and Little Ponies Time limit: 0.9 secondMemory limit: 64 MB Little boy Oleg loves the cartoon My Little Pony. How it cannot be loved, because the ...
分类:
其他好文 时间:
2017-01-17 12:53:57
阅读次数:
201
从NPM到CNPM 原文 http://www.cnblogs.com/hufeng/p/5166479.html 主题 npm 原文 http://www.cnblogs.com/hufeng/p/5166479.html 主题 npm 引用NPM网站上的一句话:npm loves you ! N ...
分类:
其他好文 时间:
2017-01-16 01:06:02
阅读次数:
178
数据库中主键的生成一般是通过序列来生成,PG的序列知识主要罗列如下: 如何找到序列的名称:用pgadmin打开当前所用数据库,在schemas->sequences下找到相关的序列,然后SELECTnextval('im_indicator_results_seq');查看当前的序列号,在去相关的表 ...
分类:
数据库 时间:
2017-01-14 11:10:17
阅读次数:
884