URAL 1295. Crazy Notions(数学啊 & 找规律)...
分类:
其他好文 时间:
2015-03-07 11:38:06
阅读次数:
124
Problem地址:http://acm.hdu.edu.cn/showproblem.php?pid=1381此题可以用哈希数组求解,至于什么是哈希,可以先看以下这篇推荐文章,写得挺不错的。推荐:http://www.cnblogs.com/yangecnu/p/Introduce-Hashtab...
分类:
其他好文 时间:
2015-02-09 00:44:07
阅读次数:
247
http://acm.hdu.edu.cn/showproblem.php?pid=4336
Problem Description
In your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect...
分类:
其他好文 时间:
2015-02-04 18:44:41
阅读次数:
177
题意就是说把顺时针排的1到n换成逆时针排的需要的最少交换步数。如果是线形的一串数,需要的交换次数就是个冒泡排序的交换次数:n*(n-1)/2,或者用a[i]=(i-1)+a[i-1]推出来。对于环形,切成两个线形就行了,通过观察规律知:越接近平均切开越好。#include#include#inclu...
分类:
其他好文 时间:
2015-02-04 00:25:38
阅读次数:
223
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3157You’ve just built a circuit board for your new robot, and now you need to power it. Your robot circ...
分类:
其他好文 时间:
2015-02-03 20:59:07
阅读次数:
429
DescriptionThough ZCC has many Fans, ZCC himself is a crazy Fan of a coder, called "Memset137".It was on Codefires(CF), an online competitive programm...
分类:
其他好文 时间:
2015-02-01 20:16:10
阅读次数:
238
Crazy Shopping(拓扑排序+完全背包)Because of the 90th anniversary of theCoherent & Cute Patchouli(C.C.P),Kawashiro Nitoridecides to buy a lot of rare things to...
分类:
编程语言 时间:
2015-01-26 20:57:38
阅读次数:
220
H - Crazy Shopping
Time Limit:3000MS Memory Limit:65536KB 64bit IO Format:%lld
& %llu
Submit Status
Description
Because of the 90th anniversary of the Coherent & Cute Patchouli...
分类:
编程语言 时间:
2015-01-17 23:35:41
阅读次数:
358
使用cocos2dx3.2 引擎制作重力模式下的俄罗斯方块,底部可以进入目录页.........
分类:
其他好文 时间:
2015-01-13 10:32:12
阅读次数:
168
Though ZCC has many Fans, ZCC himself is a crazy Fan of a coder, called "Memset137".It was on Codefires(CF), an online competitive programming site, t...
分类:
其他好文 时间:
2015-01-07 16:35:55
阅读次数:
269