{"problem": {"id": 1741, "resource_id": "zap.2020.files", "title": "Files"}, "student": {"id": 5609, "resource_id": "1DIYiK", "name": "Richard Dzurik", "email": "richard.dzurik@student.tuke.sk"}, "score": 11.0, "percentage": 100.0, "testcases": [{"id": 9378036, "title": "Structure Check", "description": null, "duration": 0.0573575496673584, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 351793, "parent": null}, {"id": 9378037, "title": "Count Words", "description": null, "duration": 1.9905164241790771, "score": 5.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": null}, {"id": 9378038, "title": "Global variables", "description": "Code should not contain any global variables. The output of this test needs to be empty.\n", "duration": 0.11499881744384766, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378037}, {"id": 9378039, "title": "Compilation", "description": "Compiles your code with `gcc` with standard `c11` and flags `-Wall -Werror`. The only allowed functions are the following 4 (from `stdio.h`):\n\n- `fopen()`\n- `fclose()`\n- `fgetc()`\n- `fputc()`\n\nAny other library functions in your code will cause the compilation to fail.\n", "duration": 0.16217780113220215, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378037}, {"id": 9378040, "title": "Empty file test", "description": null, "duration": 0.3179035186767578, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378037}, {"id": 9378041, "title": "Generate empty file", "description": null, "duration": 0.1079874038696289, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378040}, {"id": 9378042, "title": "Run", "description": "Runs your program with name of an empty file as its command line argument.\n", "duration": 0.1037149429321289, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378040}, {"id": 9378043, "title": "Evaluate file content", "description": "Expected word count is 0.\n", "duration": 0.106201171875, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378040}, {"id": 9378044, "title": "Random file without hidden word", "description": null, "duration": 0.3838694095611572, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378037}, {"id": 9378045, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.16945338249206543, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378044}, {"id": 9378046, "title": "Run", "description": null, "duration": 0.10827875137329102, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378044}, {"id": 9378047, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.10613727569580078, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378044}, {"id": 9378048, "title": "Random file 1", "description": null, "duration": 0.3782477378845215, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378037}, {"id": 9378049, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.1664586067199707, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378048}, {"id": 9378050, "title": "Run", "description": null, "duration": 0.10930967330932617, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378048}, {"id": 9378051, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.10247945785522461, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378048}, {"id": 9378052, "title": "Random file 2", "description": null, "duration": 0.3437230587005615, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378037}, {"id": 9378053, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.15154218673706055, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378052}, {"id": 9378054, "title": "Run", "description": null, "duration": 0.09897208213806152, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378052}, {"id": 9378055, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.09320878982543945, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378052}, {"id": 9378056, "title": "Every Second", "description": null, "duration": 1.6012399196624756, "score": 5.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": null}, {"id": 9378057, "title": "Global variables", "description": "Code should not contain any global variables. The output of this test needs to be empty.\n", "duration": 0.09273982048034668, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378056}, {"id": 9378058, "title": "Compilation", "description": "Compiles your code with `gcc` with standard `c11` and flags `-Wall -Werror`. The only allowed functions are the following 4 (from `stdio.h`):\n\n- `fopen()`\n- `fclose()`\n- `fgetc()`\n- `fputc()`\n\nAny other library functions in your code will cause the compilation to fail.\n", "duration": 0.12221169471740723, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378056}, {"id": 9378059, "title": "Empty file", "description": null, "duration": 0.2715184688568115, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378056}, {"id": 9378060, "title": "Generate empty file", "description": null, "duration": 0.0753779411315918, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378059}, {"id": 9378061, "title": "Run", "description": "Runs your program with name of an empty file as its command line argument.\n", "duration": 0.09929513931274414, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378059}, {"id": 9378062, "title": "Evaluate file content", "description": "It is expected that the output file is empty.\n", "duration": 0.09684538841247559, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378059}, {"id": 9378063, "title": "Random file: Boundary check", "description": null, "duration": 0.327772855758667, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378056}, {"id": 9378064, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.14164328575134277, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378063}, {"id": 9378065, "title": "Run", "description": null, "duration": 0.10134506225585938, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378063}, {"id": 9378066, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.08478450775146484, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378063}, {"id": 9378067, "title": "Random file 1", "description": null, "duration": 0.2880101203918457, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378056}, {"id": 9378068, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.13773131370544434, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378067}, {"id": 9378069, "title": "Run", "description": null, "duration": 0.07481670379638672, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378067}, {"id": 9378070, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.07546210289001465, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378067}, {"id": 9378071, "title": "Random file 2", "description": null, "duration": 0.302325963973999, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351793, "parent": 9378056}, {"id": 9378072, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.13173437118530273, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378071}, {"id": 9378073, "title": "Run", "description": null, "duration": 0.07985830307006836, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378071}, {"id": 9378074, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.09073328971862793, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351793, "parent": 9378071}], "id": 351793, "resource_id": "35901625-d14c-440b-9ac1-3ad35d742860", "date_submitted": "2020-11-26T21:27:25Z", "date_evaluated": "2020-11-26T23:12:03.246Z", "max_score": 11.0}