码迷,mamicode.com
首页 > 其他好文 > 详细

ural 1219. Symbolic Sequence

时间:2015-10-19 22:26:42      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:

1219. Symbolic Sequence

Time limit: 1.0 second
Memory limit: 64 MB
Your program is to output a sequence of 1 000 000 lowercase Latin letters. This sequence should satisfy the following restrictions:
  • Every letter occurs not more than 40 000 times in the sequence;
  • Every possible subsequence with two letters length occurs not more than 2 000 times;
  • Every possible subsequence with three letters length occurs not more than 100 times;

Input

For this problem no input is provided.

Output

In a single line of the output write some sequence, which satisfies the properties described above.
Problem Author: Pavel Atnashev, Leonid Volkov, text by Pavel Atnashev
Problem Source: The Seventh Ural State University collegiate programming contest

ural 1219. Symbolic Sequence

标签:

原文地址:http://www.cnblogs.com/StupidBoy/p/4893074.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!