PolarisSherlock

导航

2014年4月13日 #

SRM 146 DIV1 800

摘要: Problem StatementThe purpose of a roundabout is to control the flow of traffic at a busy intersection. A roundabout has 4 entry points: from the North... 阅读全文

posted @ 2014-04-13 22:09 PolarisSherlock 阅读(134) 评论(0) 推荐(0) 编辑

MyEclipse 序列号生成代码

摘要: 根据程序运行提示输入用户名即可生成注册码 1 import java.io.*; 2 3 public class MyEclipseGen { 4 private static final String LL = "Decompiling this copyrighted softwar... 阅读全文

posted @ 2014-04-13 19:13 PolarisSherlock 阅读(151) 评论(0) 推荐(0) 编辑

2014年4月10日 #

SRM 146 DIV1 600

摘要: Problem StatementMasterbrain is a two player board game in which one player decides on a secret combination of digits, while the other must figure it out in 10 guesses or less. The game differs from Mastermind in that the player making the secret combination is allowed to lie once.The game consists 阅读全文

posted @ 2014-04-10 15:36 PolarisSherlock 阅读(168) 评论(0) 推荐(0) 编辑

SRM 146 DIV2 1000

摘要: Problem StatementA well-known riddle goes like this: Four people are crossing an old bridge. The bridge cannot hold more than two people at once. It is dark, so they can't walk without a flashlight, and they only have one flashlight! Furthermore, the time needed to cross the bridge varies among 阅读全文

posted @ 2014-04-10 11:26 PolarisSherlock 阅读(136) 评论(0) 推荐(0) 编辑

2014年4月6日 #

poj1068

摘要: ParencodingsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 18785Accepted: 11320DescriptionLet 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 ri 阅读全文

posted @ 2014-04-06 20:46 PolarisSherlock 阅读(133) 评论(0) 推荐(0) 编辑

poj1050

摘要: To the MaxTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 39081Accepted: 20639DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of a 阅读全文

posted @ 2014-04-06 19:17 PolarisSherlock 阅读(118) 评论(0) 推荐(1) 编辑