Open lemkis opened 7 months ago
Moreover, add the tests of following form:
expand(dexpand(...)) = identity
dexpand(expand(...)) = identity
to stress that dexpand and expand mutual inverses
You corrected all problems - that is why you receive maximal number of points for this project,that is 9pts
Evaluation
Exceptionally (because it is the first project) you can correct errors listed below to retrieve lost points.
Deadline Friday 12.04.24
. You have only one chance to correct your project. Your next PR is the last one. If you correct these errors and you do not introduce new ones you get max number of points for this project.#include <numeric>
- code does not compile in my case you need to include the following#include <concepts> #include <vector> #include <string> #include <print> #include <cmath> #include <numeric> #include <charconv> #include <ranges> #include <algorithm>
check if works for you as well. -8ptspow
function should return integers not floating points -1ptrepresentation_tests()
is of similar form us a helper function - in particular it solves the problem of magic numbers) -2ptvoid reduce()
-1ptrest
toremainder
-1ptPlease replace formatters so that they work with clang as well:
and