上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 94 下一页

2012年8月13日

POJ 2996 Help Me with the Game(水模拟)

摘要: Help Me with the GameTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2426Accepted: 1571DescriptionYour task is to read a picture of a chessboard position and print it in the chess notation.InputThe input consists of an ASCII-art picture of a chessboard with chess pieces on positions describ 阅读全文

posted @ 2012-08-13 15:37 kuangbin 阅读(1193) 评论(0) 推荐(1) 编辑

POJ 1573 Robot Motion(水模拟)

摘要: Robot MotionTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 7892Accepted: 3812DescriptionA robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The possible instructions are N north (up the page) 阅读全文

posted @ 2012-08-13 14:18 kuangbin 阅读(357) 评论(0) 推荐(0) 编辑

POJ 2632 Crashing Robots(水模拟)

摘要: Crashing RobotsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 5453Accepted: 2382DescriptionIn a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their destinations without crashing into each other. Of course, all warehouse 阅读全文

posted @ 2012-08-13 13:52 kuangbin 阅读(584) 评论(0) 推荐(0) 编辑

POJ 1068 Parencodings(模拟)

摘要: ParencodingsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 15075Accepted: 8989DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: q By an integer sequence P = p1 p2...pn where pi is the number of left parentheses before the ith rig 阅读全文

posted @ 2012-08-13 12:12 kuangbin 阅读(1978) 评论(0) 推荐(0) 编辑

HDU 1047 Integer Inquiry(高精度加法)

摘要: Integer InquiryTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6755Accepted Submission(s): 1723Problem DescriptionOne of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 阅读全文

posted @ 2012-08-13 02:41 kuangbin 阅读(5483) 评论(0) 推荐(1) 编辑

POJ 1077 Eight(单向搜索)

摘要: EightTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 18387Accepted: 8182Special JudgeDescriptionThe 15-puzzle has been around for over 100 years; even if you don't know it by that name, you've seen it. It is constructed with 15 sliding tiles, each with a number from 1 to 15 on it, a 阅读全文

posted @ 2012-08-13 02:11 kuangbin 阅读(1044) 评论(0) 推荐(0) 编辑

2012年8月12日

HDU 1043 Eight POJ 1077 Eight (广度搜索,八数码问题,康托展开)

摘要: HDU 1043 和 POJ 1077 两题类似。。。但是输入不同。HDU 上是同时多组输入,POJ是单组输入。两个限时不同。HDU 上反向搜索,把所有情况打表出来。POJ上正向搜索。这个题很经典,还需要继续做。先把第一次写的代码贴出来吧。继续优化中HDU 1043EightTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7145Accepted Submission(s): 1946Special JudgeProblem Descript 阅读全文

posted @ 2012-08-12 21:44 kuangbin 阅读(5940) 评论(4) 推荐(2) 编辑

2012年8月11日

HDU 1041 Computer Transformation(高精度)

摘要: Computer TransformationTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3845Accepted Submission(s): 1420Problem DescriptionA sequence consisting of one digit, the number 1 is initially written into a computer. At each successive time step, the compu 阅读全文

posted @ 2012-08-11 22:44 kuangbin 阅读(477) 评论(0) 推荐(0) 编辑

高精度模板总结1(string 实现加、减、乘、除)常用版 kuangbin

摘要: 加、减、乘、除高精度 string kuangbin#include<stdio.h>#include<string>#include<string.h>#include<iostream>using namespace std;//compare比较函数:相等返回0,大于返回1,小于返回-1int compare(string str1,string str2){ if(str1.length()>str2.length()) return 1; else if(str1.length()<str2.length()) return 阅读全文

posted @ 2012-08-11 21:52 kuangbin 阅读(4899) 评论(2) 推荐(2) 编辑

HDU 1943 Ball bearings(简单数学问题)

摘要: Ball bearingsTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 40Accepted Submission(s): 20Problem DescriptionThe Swedish company SKF makes ball bearings. As explained by Britannica Online, a ball bearing is “one of the two types of rolling, or anti 阅读全文

posted @ 2012-08-11 17:15 kuangbin 阅读(704) 评论(0) 推荐(0) 编辑

上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 94 下一页

导航

JAVASCRIPT: