`
hellojyj
  • 浏览: 59081 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
社区版块
存档分类
最新评论
文章列表

UVA 10036 Divisibility

    博客分类:
  • ACM
原题传送门:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=977     Consider an arbitrary sequence of integers. One can place + or - operators between integers in the sequence, thus deriving different arithmetical expressions that evaluate to d ...
原题传送门:http://poj.org/problem?id=3258     River Hopscotch Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 6656   Accepted: 2880 Description Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to ...
原题传送门:http://codeforces.com/problemset/problem/230/A     A. Dragons time limit per test 2 seconds     memory limit per test256 megabytes input standard input output standard output Kirito is stuck on a level of the MMORPG he is playing now. To move on in the game, he's g ...
  原题传送门:http://poj.org/problem?id=3984 迷宫问题 Time Limit: 1000MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u [Submit]   [Go Back]   [Status]   Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, ...
原题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2899     Strange fuction Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3021    Accepted Submission(s): 2235 Problem Description   Now, here is a fuction:  F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2 ...
原题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2199   Can you solve this equation? Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8116    Accepted Submission(s): 3738 Problem Description   Now,given the equation 8*x^4 + 7*x^3 + 2*x^2 + ...
原题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2141     Can you find it? Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 10636    Accepted Submission(s): 2786 Problem Description   Give you three sequences of numbers A, B, C, then we ...
原题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1051     Wooden Sticks Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11290    Accepted Submission(s): 4642 Problem Description   There is a pile of n wooden sticks. The length and weight ...
原题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1009 FatMouse' Trade Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 42086    Accepted Submission(s): 14004 Problem Description   FatMouse prepared M pounds of cat food, ready to trade with t ...
原题传送门:http://poj.org/problem?id=2243 Knight Moves Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11197   Accepted: 6318 Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight mo ...
原题传送门:http://poj.org/problem?id=3620   Avoid The Lakes Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6211   Accepted: 3370 Description Farmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows are death ...
原题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1016     Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25493    Accepted Submission(s): 11369 Problem Description A ring is compose of n circles as shown in diagram. Pu ...
//已知先序、中序求后序 //测试数据: //样例输入: // DBACEGF ABCDEFG // BCAD CBAD //样例输出: // ACBFGED // CDAB #include "stdio.h" #include <string.h> void build(char* prestr,char* instr,char* laststr,int len){ if(len<=0)return; int pos = strchr(instr,prestr[0])- ...
原题传送门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1649   Rescue     Time Limit: 2 Seconds      Memory Limit: 65536 KB     Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs ...
原题传送门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1709 Oil Deposits     Time Limit: 2 Seconds      Memory Limit: 65536 KB   The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region o ...
Global site tag (gtag.js) - Google Analytics