6 kyu
[BF] Sum 0 to N
58iNont
Description:
So simple, all you have to do for this kata is Write a program in BrainFuck sum of all integers from 0 to N
Your program will be tested with all natural numbers which not bigger than 20.
Input:
Natural number not bigger than 20. (0 <= N <= 20
)
The input will be terminated with a null character for EOF.
Output:
Sum of all integers from 0 to N
Example:
Input: 5
Output: 0+1+2+3+4+5 15
Fundamentals
Algorithms
Mathematics
Similar Kata:
Stats:
Created | Feb 2, 2018 |
Published | Feb 2, 2018 |
Warriors Trained | 436 |
Total Skips | 43 |
Total Code Submissions | 708 |
Total Times Completed | 58 |
BF Completions | 58 |
Total Stars | 9 |
% of votes with a positive feedback rating | 91% of 22 |
Total "Very Satisfied" Votes | 18 |
Total "Somewhat Satisfied" Votes | 4 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 3 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |