Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 2;
assert(isequal(OctoberfestFestival(x),y_correct))
|
2 | Pass |
x = 5;
y_correct = 20;
assert(isequal(OctoberfestFestival(x),y_correct))
|
3 | Pass |
x = 10;
y_correct = 232;
assert(isequal(OctoberfestFestival(x),y_correct))
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
524 Solvers
582 Solvers
328 Solvers
Is this triangle right-angled?
1370 Solvers
170 Solvers