7 kyu
strlen
Description:
Given a string, output its length (as a character).
Note: the code is prepended with >,[>,]
to avoid trivializing the problem.
Input
A string of length between 0 and 255
Output
A char representing representing the length of the string
Examples
strlen("\0") -> '\x00'
strlen("Hello, World!\0") -> '\x0d'
strlen("a\0") -> '\x01'
Strings
Algorithms
Stats:
Created | Jul 5, 2023 |
Published | Jul 5, 2023 |
Warriors Trained | 61 |
Total Skips | 1 |
Total Code Submissions | 51 |
Total Times Completed | 29 |
BF Completions | 29 |
Total Stars | 1 |
% of votes with a positive feedback rating | 100% of 15 |
Total "Very Satisfied" Votes | 15 |
Total "Somewhat Satisfied" Votes | 0 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 11 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |