autori - bradendubois/competitive-programming GitHub Wiki

Autori

ID: autori

Difficulty: 1.4

CPU Time: 1 second

Memory: 1024 MB

Solution

Since one needs the first letter of every word, one needs to split the string into each word, which allows the "-" to act as a perfect point to "split" the line at, and simply index the 0th letter of each, and print as desired.

⚠️ **GitHub.com Fallback** ⚠️