O. 0x

Codeforces
IDCF10051O
Time1000ms
Memory256MB
Difficulty
English · Original
Formal · Original
You are given an encrypted string, encrypted using a certain algorithm. Decrypt it! The first and single line of input contains a string s, which each of it's characters is an English letter or a digit or  +  or  =  or  / . (1 ≤ |s| ≤ 105) Print the original string. ## Input The first and single line of input contains a string s, which each of it's characters is an English letter or a digit or  +  or  =  or  / . (1 ≤ |s| ≤ 105) ## Output Print the original string. [samples]
**Definitions** Let $ s \in \Sigma^* $ be the encrypted string, where $ \Sigma = \{ \text{a-z, A-Z, 0-9, +, =, /} \} $ and $ 1 \leq |s| \leq 10^5 $. **Constraints** 1. $ s $ consists only of characters from $ \Sigma $. 2. $ s $ is a valid Base64-encoded string. **Objective** Decode $ s $ using Base64 decoding to recover the original string $ s_{\text{orig}} $: $$ s_{\text{orig}} = \text{Base64Decode}(s) $$
API Response (JSON)
{
  "problem": {
    "name": "O. 0x",
    "description": {
      "content": "You are given an encrypted string, encrypted using a certain algorithm. Decrypt it! The first and single line of input contains a string s, which each of it's characters is an English letter or a dig",
      "description_type": "Markdown"
    },
    "platform": "Codeforces",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "CF10051O"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given an encrypted string, encrypted using a certain algorithm. Decrypt it!\n\nThe first and single line of input contains a string s, which each of it's characters is an English letter or a dig...",
      "is_translate": false,
      "language": "English"
    },
    {
      "statement_type": "Markdown",
      "content": "**Definitions**  \nLet $ s \\in \\Sigma^* $ be the encrypted string, where $ \\Sigma = \\{ \\text{a-z, A-Z, 0-9, +, =, /} \\} $ and $ 1 \\leq |s| \\leq 10^5 $.\n\n**Constraints**  \n1. $ s $ consists only of char...",
      "is_translate": false,
      "language": "Formal"
    }
  ]
}
Full JSON Raw Segments