about | help | code help+videos | done | prefs |
Determinare il numero di commenti in un array di stringhe, considerando come commento le stringhe il cui primo carattere รจ un cancelletto '#' countComments(["qui", "non ci sono", "commenti"]) → 0 countComments(["", "qui", "quo"]) → 0 countComments(["# autore: darios", "# anno:2021", "a=10;", "print a;"]) → 2 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 230
Copyright Nick Parlante 2017 - privacy