# ACM

## URAL 1183. Brackets Sequence

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1183 1183. Brackets Sequence Time limit: 1.0 second Memory limit: 64 MB Let us define a regular brackets sequence in the following way: Empty seq…

## URAL 1684. Jack’s Last Word

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1684 1684. Jack’s Last Word Time limit: 0.5 second Memory limit: 64 MB Not long ago Jack read on a fence a word that was new and amusing fo…

## URAL 1423. String Tale

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1423 1423. String Tale Time limit: 1.0 second Memory limit: 64 MB Background I want to tell you a story. Not entirely, but only the very beginnin…

## URAL 1354. Palindrome. Again Palindrome

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1354 1354. Palindrome. Again Palindrome Time limit: 1.0 second Memory limit: 64 MB   A word is the nonempty sequence of symbols a1a2…an. A p…

## URAL 1297. Palindrome

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1297 1297. Palindrome Time limit: 1.0 second Memory limit: 64 MB The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It st…

## URAL 1723. Sandro’s Book

1. 题目 http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=18392 1723. Sandro’s Book Time limit: 0.5 second Memory limit: 64 MB It’s been quite a number of years since Lich Sandr…

## URAL 1238. Folding

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1238 1238. Folding Time limit: 1.0 second Memory limit: 64 MB Bill is trying to compactly represent sequences of capital alphabetic characters fr…

## URAL 1004. Sightseeing Trip

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1004 1004. Sightseeing Trip Time limit: 0.5 second Memory limit: 64 MB There is a travel agency in Adelton town on Zanzibar island. It has decide…

## URAL 1152. False Mirrors

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1152 1152. False Mirrors Time limit: 2.0 second Memory limit: 64 MB Background We wandered in the labyrinth for twenty minutes before finally ent…

## URAL 1039. Anniversary Party

1. 题目 http://acm.timus.ru/problem.aspx?space=1&num=1039 1039. Anniversary Party Time limit: 0.5 second Memory limit: 8 MB Background The president of the Ural State University is going to make an …