Painter's ProblemTime Limit:1000MSMemory Limit:10000KTotal Submissions:4420Accepted:2143DescriptionThere is a square wall which is made of n*n small s...
分类:
其他好文 时间:
2014-07-16 22:57:42
阅读次数:
209
滑雪Time Limit:1000msMemory Limit:65536KBThis problem will be judged on PKU. Original ID:108864-bit integer IO format:%lld Java class name:MainMichael喜欢...
分类:
其他好文 时间:
2014-07-16 21:57:18
阅读次数:
178
题目链接:http://poj.org/problem?id=1298题目大意:按照所给的顺序要求将输入的字符串进行排列。 1 #include 2 #include 3 #include 4 using namespace std; 5 int main () 6 { 7 char ...
分类:
其他好文 时间:
2014-07-16 21:53:34
阅读次数:
186
http://202.121.199.212/JudgeOnline/problem.php?id=1771夏季赛H题DescriptionInput第一行含有一个正整数 T,表示有 T 组测试数据。每组数据只有一行,包含三个整数 L_i,R_i,m。约定 T≤200; 0≤L≤R≤10^18; |...
分类:
其他好文 时间:
2014-07-16 21:48:29
阅读次数:
154
题目链接:http://poj.org/problem?id=3751题目大意:按照要求的格式将输入的时间日期进行转化。 1 #include 2 #include 3 using namespace std; 4 int main () 5 { 6 int t; 7 cin>>...
分类:
其他好文 时间:
2014-07-16 21:37:33
阅读次数:
153
The Problem. 求解8数码问题。用最少的移动次数能使8数码还原. Best-first search.使用A*算法来解决,我们定义一个Seach Node,它是当前搜索局面的一种状态,记录了从初始到达当前状态的移动次数和上一个状态。初始化时候,当前状态移动次数为0,上一个状态为null,将...
分类:
其他好文 时间:
2014-07-16 21:29:13
阅读次数:
187
昨天做了一个Android的小程序,调试的时候连接真实的手机,而不是用模拟器。今天早上打开eclipse的时候报错:“Android SDK Content loader has encountered a problem” “parseSdkContent Failed ”。原先设置的模拟器也不见...
分类:
移动开发 时间:
2014-07-16 20:55:07
阅读次数:
210
Code RefactoringTime Limit:3000msMemory Limit:131072KBThis problem will be judged on UVA. Original ID:1087964-bit integer IO format:%lld Java class na...
分类:
其他好文 时间:
2014-07-16 20:36:39
阅读次数:
175
畅通工程续Problem Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。现在,已知起点和终点,请你计算出要从起点到终点,最短需要行...
分类:
其他好文 时间:
2014-07-16 19:51:38
阅读次数:
132
利用C语言来解决类似迷宫的问题,下面例子分别用两种方法来解决![Problem]There is a maze as shown in the diagram below. In the maze in the form of a 100*100 matrix, the white backgrou...
分类:
编程语言 时间:
2014-07-13 10:07:16
阅读次数:
285