码迷,mamicode.com
首页 >  
搜索关键字:magic squares    ( 1700个结果
HDU 3183 A Magic Lamp(贪心+RMQ)
Description Kiki likes traveling. One day she finds a magic lamp, unfortunately the genie in the lamp is not so kind. Kiki must answer a question, and then the genie will realize one of her dreams....
分类:其他好文   时间:2015-04-22 20:42:24    阅读次数:214
Leetcode15: Happy Number
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares...
分类:移动开发   时间:2015-04-22 18:14:05    阅读次数:109
HDU 4758 Walk Through Squares(自动机+DP)
On the beaming day of 60th anniversary of NJUST, as a military college which was Second Artillery Academy of Harbin Military Engineering Institute before, queue phalanx is a special landscape.      ...
分类:其他好文   时间:2015-04-22 00:39:12    阅读次数:155
woj 1565 - B - Magic (贪心+dp)
#include#include#include#include#include#include#includeusing namespace std;int a[1000000+10];char str[1000000+10];int main(){ int n; int i,j,k;...
分类:其他好文   时间:2015-04-20 10:56:37    阅读次数:125
漫游Kafka实现篇之消息和日志
消息格式消息由一个固定长度的头部和可变长度的字节数组组成。头部包含了一个版本号和CRC32校验码。[plain]view plaincopy/***具有N个字节的消息的格式如下**如果版本号是0**1.1个字节的"magic"标记**2.4个字节的CRC32校验码**3.N-5个字节的具体信息**如...
分类:其他好文   时间:2015-04-18 12:44:58    阅读次数:123
HUST_ACdream区域赛指导赛之手速赛系列(1)(2)G——BFS——Cutting Figure
DescriptionYou've gotten ann?×?msheet of squared paper. Some of its squares are painted. Let's mark the set of all painted squares asA. SetAis connect...
分类:其他好文   时间:2015-04-17 21:43:12    阅读次数:266
sdut2880---Devour Magic(山东省第五届ACM题)
#include #include #include #define M 300000 #define inf 0x3f3f3f3f using namespace std; int maxx,minn; long long sum; int r,c,m; struct T { int left,right,min,max,sum; int add,set; }tree[M]; s...
分类:其他好文   时间:2015-04-16 21:59:46    阅读次数:152
Devour Magic 线段树
点击打开链接 Devour Magic Time Limit: 2000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 In Warcraft III, Destroyer is a large flying unit that must consume magic to sustain its ...
分类:其他好文   时间:2015-04-16 21:58:22    阅读次数:186
hdu4758---Walk Through Squares(AC自动机+dp)
Problem DescriptionOn the beaming day of 60th anniversary of NJUST, as a military college which was Second Artillery Academy of Harbin Military Engineering Institute before, queue phalanx is a special...
分类:其他好文   时间:2015-04-16 17:47:17    阅读次数:181
结对开发:7-magic用户调研报告
用户调研报告 班级 信1201-2班 学号 20122929 姓名崔乐乐项目名称:7-magic调研时间:2015/4/14调研主题:7-magic游戏的用户需求度调研调研地点:第九实验楼调查对象:信息学院教育班参与人员:{注明姓名、职务、联系方式等相关信息}马威 生活委员18330108369卢雪...
分类:其他好文   时间:2015-04-15 22:48:35    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!