{"problem": {"id": 1736, "resource_id": "zap.2020.numbers-arrays", "title": "Numbers, Arrays"}, "student": {"id": 5609, "resource_id": "1DIYiK", "name": "Richard Dzurik", "email": "richard.dzurik@student.tuke.sk"}, "score": 10.5, "percentage": 87.5, "testcases": [{"id": 9004186, "title": "Structure check", "description": null, "duration": 0.10770416259765625, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004187, "title": "Global variables", "description": "Code should not contain any global variables. The output of this test needs to be empty.\n", "duration": 0.3882417678833008, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004188, "title": "Compilation", "description": "Compiles code first with the following command: `gcc -std=c11 -Wall -Werror ps2.c -lm -o ps2`\n", "duration": 0.6887598037719727, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004189, "title": "Task 1: Lift a Car", "description": null, "duration": 1.8427059650421143, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004190, "title": "Test lift_a_car() #1", "description": null, "duration": 0.35667896270751953, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004189}, {"id": 9004191, "title": "Test lift_a_car() #2", "description": null, "duration": 0.3767232894897461, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004189}, {"id": 9004192, "title": "Test lift_a_car() #3", "description": null, "duration": 0.3770303726196289, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004189}, {"id": 9004193, "title": "Test lift_a_car() #4", "description": null, "duration": 0.3710000514984131, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004189}, {"id": 9004194, "title": "Test lift_a_car() #5", "description": null, "duration": 0.36127328872680664, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004189}, {"id": 9004195, "title": "Task 2: Unit Price for Toilet Paper", "description": null, "duration": 2.37115740776062, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004196, "title": "Test unit_price() #1", "description": null, "duration": 0.4051342010498047, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004195}, {"id": 9004197, "title": "Test unit_price() #2", "description": null, "duration": 0.3794713020324707, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004195}, {"id": 9004198, "title": "Test unit_price() #3", "description": null, "duration": 0.3629145622253418, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004195}, {"id": 9004199, "title": "Test unit_price() #4", "description": null, "duration": 0.8216161727905273, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004195}, {"id": 9004200, "title": "Test unit_price() #5", "description": null, "duration": 0.4020211696624756, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004195}, {"id": 9004201, "title": "Task 3: Collatz Conjecture", "description": null, "duration": 2.025951862335205, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004202, "title": "Test collatz() #1", "description": null, "duration": 0.3972649574279785, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004201}, {"id": 9004203, "title": "Test collatz() #2", "description": null, "duration": 0.44533753395080566, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004201}, {"id": 9004204, "title": "Test collatz() #3", "description": null, "duration": 0.37905025482177734, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004201}, {"id": 9004205, "title": "Test collatz() #4", "description": null, "duration": 0.43947792053222656, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004201}, {"id": 9004206, "title": "Test collatz() #5", "description": null, "duration": 0.364821195602417, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004201}, {"id": 9004207, "title": "Task 4: Find Opposite Number", "description": null, "duration": 1.9879226684570312, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004208, "title": "Test opposite-number() #1", "description": null, "duration": 0.39014101028442383, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004207}, {"id": 9004209, "title": "Test opposite-number() #2", "description": null, "duration": 0.40793776512145996, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004207}, {"id": 9004210, "title": "Test opposite-number() #3", "description": null, "duration": 0.44566869735717773, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004207}, {"id": 9004211, "title": "Test opposite-number() #4", "description": null, "duration": 0.3605365753173828, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004207}, {"id": 9004212, "title": "Test opposite-number() #5", "description": null, "duration": 0.3836386203765869, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004207}, {"id": 9004213, "title": "Task 5: Count Numbers in Array", "description": null, "duration": 2.246039867401123, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004214, "title": "Test counter() #1", "description": null, "duration": 0.3549191951751709, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004213}, {"id": 9004215, "title": "Test counter() #2", "description": null, "duration": 0.369842529296875, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004213}, {"id": 9004216, "title": "Test counter() #3", "description": null, "duration": 0.40163159370422363, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004213}, {"id": 9004217, "title": "Test counter() #4", "description": null, "duration": 0.6130349636077881, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004213}, {"id": 9004218, "title": "Test counter() #5", "description": null, "duration": 0.5066115856170654, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004213}, {"id": 9004219, "title": "Task 6: Pascal's Triangle", "description": null, "duration": 2.193979263305664, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004220, "title": "Test sum_squared() #1", "description": null, "duration": 0.3895549774169922, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004219}, {"id": 9004221, "title": "Test sum_squared() #2", "description": null, "duration": 0.40596652030944824, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004219}, {"id": 9004222, "title": "Test sum_squared() #3", "description": null, "duration": 0.3684511184692383, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004219}, {"id": 9004223, "title": "Test sum_squared() #4", "description": null, "duration": 0.4448220729827881, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004219}, {"id": 9004224, "title": "Test sum_squared() #5", "description": null, "duration": 0.5851845741271973, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004219}, {"id": 9004225, "title": "Task 7: Min-and-Max Price", "description": null, "duration": 3.7579238414764404, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004226, "title": "Test array_min() #1", "description": null, "duration": 0.38045167922973633, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004227, "title": "Test array_min() #2", "description": null, "duration": 0.4271085262298584, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004228, "title": "Test array_min() #3", "description": null, "duration": 0.3456594944000244, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004229, "title": "Test array_min() #4", "description": null, "duration": 0.4212470054626465, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004230, "title": "Test array_min() #5", "description": null, "duration": 0.36843299865722656, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004231, "title": "Test array_max() #1", "description": null, "duration": 0.3520939350128174, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004232, "title": "Test array_max() #2", "description": null, "duration": 0.39635419845581055, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004233, "title": "Test array_max() #3", "description": null, "duration": 0.3440530300140381, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004234, "title": "Test array_max() #4", "description": null, "duration": 0.3665924072265625, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004235, "title": "Test array_max() #5", "description": null, "duration": 0.3559305667877197, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004225}, {"id": 9004236, "title": "Task 8: Special Counter", "description": null, "duration": 1.9745211601257324, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004237, "title": "Test special_counter() #1", "description": null, "duration": 0.3676161766052246, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004236}, {"id": 9004238, "title": "Test special_counter() #2", "description": null, "duration": 0.36385154724121094, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004236}, {"id": 9004239, "title": "Test special_counter() #3", "description": null, "duration": 0.43269801139831543, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004236}, {"id": 9004240, "title": "Test special_counter() #4", "description": null, "duration": 0.39706873893737793, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004236}, {"id": 9004241, "title": "Test special_counter() #5", "description": null, "duration": 0.4132866859436035, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004236}, {"id": 9004242, "title": "Task 9: Special Numbers", "description": null, "duration": 2.655130386352539, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 339748, "parent": null}, {"id": 9004243, "title": "Test special_numbers() #1", "description": null, "duration": 0.4041759967803955, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004242}, {"id": 9004244, "title": "Test special_numbers() #2", "description": null, "duration": 0.426405668258667, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004242}, {"id": 9004245, "title": "Test special_numbers() #3", "description": null, "duration": 0.9054112434387207, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004242}, {"id": 9004246, "title": "Test special_numbers() #4", "description": null, "duration": 0.4058346748352051, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004242}, {"id": 9004247, "title": "Test special_numbers() #5", "description": null, "duration": 0.5133028030395508, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 339748, "parent": 9004242}], "id": 339748, "resource_id": "8892d66b-63fb-4da5-94e2-8d8c1be52eb8", "date_submitted": "2020-11-01T21:58:37Z", "date_evaluated": "2020-11-01T23:12:40.688Z", "max_score": 12.0}