학부 수업 정리/알고리즘연습 (22-1) (11) 썸네일형 리스트형 [알고연] (1주차-3) 118A. String Task 118A. String Task Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given string, consisting if uppercase and lowercase Latin letters, it: deletes all the vowels,inserts a character "." before each consonant,replaces all uppercase consonants with corresponding lowercase ones. Vowels are le.. [알고연] (1주차-2) 71A. Way Too Long Words 71A. Way Too Long Words Sometimes some words like "localization" or "internationalization" are so long that writing them many times in one text is quite tiresome. Let's consider a word too long, if its length is strictly more than 10 characters. All too long words should be replaced with a special abbreviation. This abbreviation is made like this: we write down the first and the last letter of a.. [알고연] (1주차-1) 4A. Watermelon 4A. Watermelon One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the scales showed w kilos. They rushed home, dying of thirst, and decided to divide the berry, however they faced a hard problem. Pete and Billy are great fans of even numbers, that's why they want to divi.. 이전 1 2 다음