{"problem": {"id": 1745, "resource_id": "prog.2021.topsecret", "title": "Problem Set 1: Top Secret"}, "student": {"id": 5609, "resource_id": "1DIYiK", "name": "Richard Dzurik", "email": "richard.dzurik@student.tuke.sk"}, "score": 14.0, "percentage": 14.000000000000002, "testcases": [{"id": 10029418, "title": "Structure Check", "description": null, "duration": 0.04849553108215332, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029419, "title": "Globals", "description": "Searching for global variables\n", "duration": 0.16841983795166016, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029420, "title": "Static Code Analysis", "description": "Checks style of your code with cppcheck with following command:\n`cppcheck --enable=warning,performance,unusedFunction --error-exitcode=1 bmp.c playfair.c main.c`\n", "duration": 0.1790764331817627, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029421, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Werror source_files.c -lm`\n", "duration": 0.39937329292297363, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029422, "title": "Makefile Checks", "description": null, "duration": 0.30710411071777344, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029423, "title": "make all", "description": "Test target \"all\"", "duration": 0.15761613845825195, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029422}, {"id": 10029424, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.14948797225952148, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029422}, {"id": 10029425, "title": "Module BMP", "description": null, "duration": 17.213173866271973, "score": 14.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029426, "title": "Dry Run for `reverse()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 1.8057231903076172, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029427, "title": "Dry Run for `reverse()` - unit test", "description": null, "duration": 0.17325425148010254, "score": 1.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029426}, {"id": 10029428, "title": "Dry Run for `reverse()` - memory test", "description": null, "duration": 1.6324689388275146, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029426}, {"id": 10029429, "title": "Random word test for `reverse()`", "description": "This is a functionality test. It checks the function with a random word.\n", "duration": 1.841557264328003, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029430, "title": "Random word test for `reverse()` - unit test", "description": null, "duration": 0.19335198402404785, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029429}, {"id": 10029431, "title": "Random word test for `reverse()` - memory test", "description": null, "duration": 1.648205280303955, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029429}, {"id": 10029432, "title": "Random sentence test for `reverse()`", "description": "This is a functionality test. It checks the function with a random sentence.\n", "duration": 0.43410348892211914, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029433, "title": "Random sentence test for `reverse()` - unit test", "description": null, "duration": 0.43410348892211914, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029432}, {"id": 10029434, "title": "All ascii letters test for `reverse()`", "description": "This is a functionality test. It checks the function with all ascii letters.\n", "duration": 0.4555177688598633, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029435, "title": "All ascii letters test for `reverse()` - unit test", "description": null, "duration": 0.4555177688598633, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029434}, {"id": 10029436, "title": "Dry Run for `vigenere_encrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.4264376163482666, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029437, "title": "Dry Run for `vigenere_encrypt()` - unit test", "description": null, "duration": 0.4264376163482666, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029436}, {"id": 10029438, "title": "Key param test for `vigenere_encrypt()`", "description": "This test checks function with the `key` param consisted of non alpha chars.\n", "duration": 0.20964837074279785, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029439, "title": "Key param test for `vigenere_encrypt()` - unit test", "description": null, "duration": 0.20964837074279785, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029438}, {"id": 10029440, "title": "Random long text test for `vigenere_encrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.40900135040283203, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029441, "title": "Random long text test for `vigenere_encrypt()` - unit test", "description": null, "duration": 0.40900135040283203, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029440}, {"id": 10029442, "title": "Random short word test for `vigenere_encrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 1.949089527130127, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029443, "title": "Random short word test for `vigenere_encrypt()` - unit test", "description": null, "duration": 0.19031262397766113, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029442}, {"id": 10029444, "title": "Random short word test for `vigenere_encrypt()` - memory test", "description": null, "duration": 1.7587769031524658, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029442}, {"id": 10029445, "title": "Dry Run for `vigenere_decrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.3778419494628906, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029446, "title": "Dry Run for `vigenere_decrypt()` - unit test", "description": null, "duration": 0.3778419494628906, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029445}, {"id": 10029447, "title": "Key param test for `vigenere_decrypt()`", "description": "This test checks function with the `key` param consisted of non alpha chars.\n", "duration": 0.38240742683410645, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029448, "title": "Key param test for `vigenere_decrypt()` - unit test", "description": null, "duration": 0.38240742683410645, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029447}, {"id": 10029449, "title": "Random long text test for `vigenere_decrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.40195226669311523, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029450, "title": "Random long text test for `vigenere_decrypt()` - unit test", "description": null, "duration": 0.40195226669311523, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029449}, {"id": 10029451, "title": "Random short word test for `vigenere_decrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 1.890385627746582, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029452, "title": "Random short word test for `vigenere_decrypt()` - unit test", "description": null, "duration": 0.22435212135314941, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029451}, {"id": 10029453, "title": "Random short word test for `vigenere_decrypt()` - memory test", "description": null, "duration": 1.6660335063934326, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029451}, {"id": 10029454, "title": "Dry Run for `bit_encrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.5027039051055908, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029455, "title": "Dry Run for `bit_encrypt()` - unit test", "description": null, "duration": 0.5027039051055908, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029454}, {"id": 10029456, "title": "Random long text test for `bit_encrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.44151854515075684, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029457, "title": "Random long text test for `bit_encrypt()` - unit test", "description": null, "duration": 0.44151854515075684, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029456}, {"id": 10029458, "title": "Random short word test for `bit_encrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 1.9307610988616943, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029459, "title": "Random short word test for `bit_encrypt()` - unit test", "description": null, "duration": 0.20772218704223633, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029458}, {"id": 10029460, "title": "Random short word test for `bit_encrypt()` - memory test", "description": null, "duration": 1.723038911819458, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029458}, {"id": 10029461, "title": "Dry Run for `bit_decrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.20054364204406738, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029462, "title": "Dry Run for `bit_decrypt()` - unit test", "description": null, "duration": 0.20054364204406738, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029461}, {"id": 10029463, "title": "Random long text test for `bit_decrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.18111610412597656, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029464, "title": "Random long text test for `bit_decrypt()` - unit test", "description": null, "duration": 0.18111610412597656, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029463}, {"id": 10029465, "title": "Random short word test for `bit_decrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 0.17213916778564453, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029466, "title": "Random short word test for `bit_decrypt()` - unit test", "description": null, "duration": 0.17213916778564453, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029465}, {"id": 10029467, "title": "Dry Run for `bmp_encrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.1958298683166504, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029468, "title": "Dry Run for `bmp_encrypt()` - unit test", "description": null, "duration": 0.1958298683166504, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029467}, {"id": 10029469, "title": "Key param test for `bmp_encrypt()`", "description": "This test checks function with the `key` param consisted of non alpha chars.\n", "duration": 0.19864368438720703, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029470, "title": "Key param test for `bmp_encrypt()` - unit test", "description": null, "duration": 0.19864368438720703, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029469}, {"id": 10029471, "title": "Random long text test for `bmp_encrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.18639802932739258, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029472, "title": "Random long text test for `bmp_encrypt()` - unit test", "description": null, "duration": 0.18639802932739258, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029471}, {"id": 10029473, "title": "Random short word test for `bmp_encrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 0.22583818435668945, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029474, "title": "Random short word test for `bmp_encrypt()` - unit test", "description": null, "duration": 0.22583818435668945, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029473}, {"id": 10029475, "title": "Dry Run for `bmp_decrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.23725247383117676, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029476, "title": "Dry Run for `bmp_decrypt()` - unit test", "description": null, "duration": 0.23725247383117676, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029475}, {"id": 10029477, "title": "Key param test for `bmp_decrypt()`", "description": "This test checks function with the `key` param consisted of non alpha chars.\n", "duration": 0.2001330852508545, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029478, "title": "Key param test for `bmp_decrypt()` - unit test", "description": null, "duration": 0.2001330852508545, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029477}, {"id": 10029479, "title": "Random long text test for `bmp_decrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.17874670028686523, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029480, "title": "Random long text test for `bmp_decrypt()` - unit test", "description": null, "duration": 0.17874670028686523, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029479}, {"id": 10029481, "title": "Random short word test for `bmp_decrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 0.17730975151062012, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029425}, {"id": 10029482, "title": "Random short word test for `bmp_decrypt()` - unit test", "description": null, "duration": 0.17730975151062012, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029481}, {"id": 10029483, "title": "Module Playfair", "description": null, "duration": 2.092297077178955, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": null}, {"id": 10029484, "title": "Dry Run for `playfair_encrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.1792590618133545, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029485, "title": "Dry Run for `playfair_encrypt()` - unit test", "description": null, "duration": 0.1792590618133545, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029484}, {"id": 10029486, "title": "Key param test for `playfair_encrypt()`", "description": "This test checks function with the `key` param consisted of non alpha chars.\n", "duration": 0.19095587730407715, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029487, "title": "Key param test for `playfair_encrypt()` - unit test", "description": null, "duration": 0.19095587730407715, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029486}, {"id": 10029488, "title": "Random long text test for `playfair_encrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.19327473640441895, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029489, "title": "Random long text test for `playfair_encrypt()` - unit test", "description": null, "duration": 0.19327473640441895, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029488}, {"id": 10029490, "title": "Random short word test for `playfair_encrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 0.24695992469787598, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029491, "title": "Random short word test for `playfair_encrypt()` - unit test", "description": null, "duration": 0.24695992469787598, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029490}, {"id": 10029492, "title": "Dry Run for `playfair_decrypt()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.23447847366333008, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029493, "title": "Dry Run for `playfair_decrypt()` - unit test", "description": null, "duration": 0.23447847366333008, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029492}, {"id": 10029494, "title": "Key param test for `playfair_decrypt()`", "description": "This test checks function with the `key` param consisted of non alpha chars.\n", "duration": 0.1743779182434082, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029495, "title": "Key param test for `playfair_decrypt()` - unit test", "description": null, "duration": 0.1743779182434082, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029494}, {"id": 10029496, "title": "Random long text test for `playfair_decrypt()`", "description": "This is functionality test. It checks the function with a random long text as a param.\n", "duration": 0.1825706958770752, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029497, "title": "Random long text test for `playfair_decrypt()` - unit test", "description": null, "duration": 0.1825706958770752, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029496}, {"id": 10029498, "title": "Random short word test for `playfair_decrypt()`", "description": "This is functionality test. It checks the function with a random short word as a param.\n", "duration": 0.17583847045898438, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 361611, "parent": 10029483}, {"id": 10029499, "title": "Random short word test for `playfair_decrypt()` - unit test", "description": null, "duration": 0.17583847045898438, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 361611, "parent": 10029498}], "id": 361611, "resource_id": "99cad95a-c8fa-4e54-9b74-87e3ab11a2a3", "date_submitted": "2021-03-06T17:55:50Z", "date_evaluated": "2021-03-06T20:07:08.703Z", "max_score": 100.0}