Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

HS08RCPR - Self-made Cipher

After his previous success with paying the bills, Adam has been given a more responsible assignment: he has been asked to prepare a system for encrypting text information. Adam had no previous knowledge of ciphers, so he started work by visiting his favorite bookstore, and still on the same day he learned some crucial facts about substitution ciphers.

One of the most important things he read was that substitution ciphers are easy to decrypt using frequency analysis. But Adam has an idea for a new cipher, and he believes that it will be safer.

Please help us convince him that he is wrong!

The following file has been generated using a three-step process:

  • From a classical work, written in English, all non-letter characters have been removed.
  • All of the remaining characters have been capitalized.
  • The resulting character sequence has been encrypted.

Cryptogram

As a solution to this problem, please send the first and the last words of the encrypted text. The words should be separated by a space and all letters should be in uppercase.

Example:

If the plain text begins with: One and finishes with forever, then as a solution please submit: ONE FOREVER.

Scoring

By solving this problem you score 10 points.

Important note

All registered contestants are required to submit all source code and helper files written and used when solving the problem here (in ZIP format, max. 1 MB). If you did not write any source code, submit instead a concise description of how you obtained a solution.

Solutions which are not sufficiently motivated are subject to disqualification.


Added by:kuszi
Date:2008-10-25
Time limit:1s
Source limit:500B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ADA95 ASM32 BASH BF C CSHARP CPP C99 CLPS CLOJURE LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO LUA NEM NICE NODEJS OCAML PAS-GPC PAS-FPC PERL PERL6 PHP PIKE PRLG-swi PYTHON RUBY SCM guile SCM qobi ST VB.NET WHITESPACE
Resource:High School Programming League 2008/09

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.