Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
153
|
Surprise Language Round 5 |
FINISHED |
False |
7200 |
401900399 |
Feb. 22, 2012, 3 p.m. |
Problems
B'Caesar cipher is one of the simplest encryption techniques. To transform the original message into encrypted one using key k, one has to replace each letter with a letter which is k positions later in the alphabet (if this takes the position beyond Z, the rest of it is counted from the start of the alphabet). In a more formal way, if letters of the alphabet are enumerated starting with 0, the result of encryption for character x will be (26 is the number of letters in the Latin alphabet). You are given the original message and the encryption key k. Output the resulting cipher. The first line of input contains the original message -- a sequence uppercase Latin letters ( xc2 xabA xc2 xbb- xc2 xabZ xc2 xbb). The length of the message is from 1 to 10, inclusive. The second line contains an integer k (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8925). Output the result of encryption.'... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
3669399 |
Omelianenko |
C |
May 4, 2013, 1:50 p.m. |
OK |
Cobol |
TESTS |
30 |
15 |
0 |
|
2200 |
3233515 |
Chen_ChaoRui |
C |
March 3, 2013, 8:32 a.m. |
OK |
Cobol |
TESTS |
30 |
15 |
0 |
|
2200 |
41009223 |
ReaLNero1 |
C |
July 31, 2018, 11:41 a.m. |
OK |
Cobol |
TESTS |
30 |
30 |
0 |
|
2200 |
14180988 |
130705009 |
C |
Nov. 10, 2015, 7:01 a.m. |
OK |
Cobol |
TESTS |
30 |
30 |
0 |
|
2200 |
11091551 |
I_love_Hoang_Yen |
C |
May 13, 2015, 5:22 p.m. |
OK |
Cobol |
TESTS |
30 |
30 |
0 |
|
2200 |
5288822 |
Lazzaro |
C |
Nov. 28, 2013, 5:42 p.m. |
OK |
Cobol |
TESTS |
30 |
30 |
0 |
|
2200 |
1715608 |
swgr |
C |
May 25, 2012, 1:17 p.m. |
OK |
Cobol |
TESTS |
30 |
30 |
1331200 |
|
2200 |
1570389 |
Archon.JK |
C |
April 18, 2012, 11:42 a.m. |
OK |
Cobol |
TESTS |
30 |
30 |
1331200 |
|
2200 |
1374084 |
ignored |
C |
March 17, 2012, 9:23 p.m. |
OK |
Cobol |
TESTS |
30 |
30 |
1331200 |
|
2200 |
1374070 |
ignore |
C |
March 17, 2012, 9:14 p.m. |
OK |
Cobol |
TESTS |
30 |
30 |
1331200 |
|
2200 |
remove filters
Back to search problems