首页 > 其他 > 详细

ural 1219. Symbolic Sequence

时间:2015-10-19 22:24:29      阅读:219      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!