반응형
[codeforces] A. String Task
알고리즘(Python,Java)2019. 8. 21. 20:34[codeforces] A. String Task

problem 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 letters "A..

[codeforces] A. Next Round
알고리즘(Python,Java)2019. 8. 21. 19:12[codeforces] A. Next Round

problem "Contestant who earns a score equal to or greater than the k-th place finisher's score will advance to the next round, as long as the contestant earns a positive score..." — an excerpt from contest rules. A total of n participants took part in the contest (n ≥ k), and you already know their scores. Calculate how many participants will advance to the next round. using language : python3 N..

반응형
image