Problem 2202. Flip the bit
43.23% Correct | 56.77% Incorrect
Last Solution submitted on May 29, 2023
David Young on 20 Feb 2014
The test suite does not check that the solution is a character string, but the problem definition requires that it should.
the cyclist on 20 Feb 2014
Added this check. (I messed it up a bit the first time I tried to do it, so sorry for some interim weirdness.)
Solution CommentsShow comments
Problem Recent Solvers234
Number of 1s in the Binary Representation of a Number
Project Euler: Problem 2, Sum of even Fibonacci
Back to basics 23 - Triangular matrix
More from this Author23
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!