Homework Assignments

The assignments for 2020 will be presented here.

Homework Submission

To submit your homework, you are required to use the git repositories created by us on the Faculty of Informatics’ GitLab page under the group pv264/students/2020/YOUR_LOGIN. The repositories will be named hw1 and hw2. To submit the work, you simply tag the commit that contains your final version with a tag that starts with submit. For repeated submissions, simply use different tags that all start with submit, e.g. submit1, submit2, …

Note: If you don’t know how to create a tag in a git repository, you can always use GitLab’s web interface to do so (on the repository page you can click the + symbol above name of the last commit).

You will see the results of your submission in IS, see below for more details.

Repository rules:

Submission rules:

Compilation on Aisa:

You can check that your code compiles with the recommended compiler on aisa.fi.muni.cz. It has to compile with g++ 10 (module add gcc-10.2) with the following options:

-std=c++20 -Wall -Wextra -Wold-style-cast -Werror -pedantic

We also recommend using clang-tidy. The list of clang-tidy checks we use when checking your code can be found here.

Note: If clang-tidy produces any warnings, we will most probably reject your code. If you think that your code is OK and that the warning is wrong (or unfixable), please write a comment near the problematic part of your code explaining the situation. You may also add a // NOLINT comment on the problematic line to silence the warnings. (This does not stop us from seeing the warnings!) If you don’t understand why a specific warning has been issued, you can always consult the clang-tidy documentation.