6 kyu
[BF] operators: max
11Madjosz
Description:
Task
Write a BF program which returns the maximum number of the the given positive numbers.
The program should work for arbitrary many inputs. If no number is given, return \0
.
Input
- arbitrary many (zero or more) positive numbers
[1 - 255]
as ansi codes - input will be terminated by a
\0
Output
- the maximum of all given numbers as ansi code
- if only one number is given, return that number
- if no number is given, return
\0
More operators
Check out the [BF] operators collection.
Algorithms
Similar Kata:
Stats:
Created | Mar 4, 2022 |
Published | Aug 3, 2023 |
Warriors Trained | 40 |
Total Skips | 2 |
Total Code Submissions | 22 |
Total Times Completed | 11 |
BF Completions | 11 |
Total Stars | 2 |
% of votes with a positive feedback rating | 100% of 8 |
Total "Very Satisfied" Votes | 8 |
Total "Somewhat Satisfied" Votes | 0 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 6 kyu |