摘要:
Robot MotionTime Limit:1000MSMemory Limit:10000KTotal Submissions:7311Accepted:3513Description A 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) S . 阅读全文
posted @ 2012-02-27 21:38
Stephen Li
阅读(203)
评论(0)
推荐(0)
摘要:
ParencodingsTime Limit:1000MSMemory Limit:10000KTotal Submissions:13696Accepted:8145DescriptionLet 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 right p 阅读全文
posted @ 2012-02-27 20:20
Stephen Li
阅读(201)
评论(0)
推荐(0)
浙公网安备 33010602011771号