codeforces-scrape

Codeforces scraped problems and editorials
git clone git://git.laack.co/codeforces-scrape.git
Log | Files | Refs | README

130G.md (763B)


      1 Source: https://codeforces.com/problemset/problem/130/G
      2 
      3 G. CAPS LOCK ON
      4 
      5 time limit per test
      6 
      7 2 seconds
      8 
      9 memory limit per test
     10 
     11 64 megabytes
     12 
     13 input
     14 
     15 stdin
     16 
     17 output
     18 
     19 stdout
     20 
     21 You are given a string which consists of letters and other characters. Convert it to uppercase, i.e., replace all lowercase letters with corresponding uppercase ones. Keep the rest of characters unchanged.
     22 
     23 Input
     24 
     25 The only line of input contains a string between 1 and 100 characters long. Each character of the string has ASCII-code between 33 (exclamation mark) and 126 (tilde), inclusive.
     26 
     27 Output
     28 
     29 Output the given string, converted to uppercase.
     30 
     31 Examples
     32 
     33 Input
     34 
     35 ```
     36 cOdEfOrCeS
     37 ```
     38 
     39 Output
     40 
     41 ```
     42 CODEFORCES
     43 ```
     44 
     45 Input
     46 
     47 ```
     48 ulr#4:befunge-RULES!
     49 ```
     50 
     51 Output
     52 
     53 ```
     54 ULR#4:BEFUNGE-RULES!
     55 ```