{"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": 12.0, "percentage": 100.0, "testcases": [{"id": 9018572, "title": "Structure check", "description": null, "duration": 0.04016566276550293, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018573, "title": "Global variables", "description": "Code should not contain any global variables. The output of this test needs to be empty.\n", "duration": 0.09021496772766113, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018574, "title": "Compilation", "description": "Compiles code first with the following command: `gcc -std=c11 -Wall -Werror ps2.c -lm -o ps2`\n", "duration": 0.3157644271850586, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018575, "title": "Task 1: Lift a Car", "description": null, "duration": 0.655900239944458, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018576, "title": "Test lift_a_car() #1", "description": null, "duration": 0.14046216011047363, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018575}, {"id": 9018577, "title": "Test lift_a_car() #2", "description": null, "duration": 0.12231302261352539, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018575}, {"id": 9018578, "title": "Test lift_a_car() #3", "description": null, "duration": 0.13989567756652832, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018575}, {"id": 9018579, "title": "Test lift_a_car() #4", "description": null, "duration": 0.12988781929016113, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018575}, {"id": 9018580, "title": "Test lift_a_car() #5", "description": null, "duration": 0.12334156036376953, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018575}, {"id": 9018581, "title": "Task 2: Unit Price for Toilet Paper", "description": null, "duration": 0.6884262561798096, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018582, "title": "Test unit_price() #1", "description": null, "duration": 0.14008665084838867, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018581}, {"id": 9018583, "title": "Test unit_price() #2", "description": null, "duration": 0.1364893913269043, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018581}, {"id": 9018584, "title": "Test unit_price() #3", "description": null, "duration": 0.1379413604736328, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018581}, {"id": 9018585, "title": "Test unit_price() #4", "description": null, "duration": 0.14373207092285156, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018581}, {"id": 9018586, "title": "Test unit_price() #5", "description": null, "duration": 0.13017678260803223, "score": 0.2, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018581}, {"id": 9018587, "title": "Task 3: Collatz Conjecture", "description": null, "duration": 0.7096467018127441, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018588, "title": "Test collatz() #1", "description": null, "duration": 0.14476704597473145, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018587}, {"id": 9018589, "title": "Test collatz() #2", "description": null, "duration": 0.15074682235717773, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018587}, {"id": 9018590, "title": "Test collatz() #3", "description": null, "duration": 0.13777756690979004, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018587}, {"id": 9018591, "title": "Test collatz() #4", "description": null, "duration": 0.1438589096069336, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018587}, {"id": 9018592, "title": "Test collatz() #5", "description": null, "duration": 0.13249635696411133, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018587}, {"id": 9018593, "title": "Task 4: Find Opposite Number", "description": null, "duration": 0.6351089477539062, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018594, "title": "Test opposite-number() #1", "description": null, "duration": 0.13662362098693848, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018593}, {"id": 9018595, "title": "Test opposite-number() #2", "description": null, "duration": 0.13051342964172363, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018593}, {"id": 9018596, "title": "Test opposite-number() #3", "description": null, "duration": 0.12778830528259277, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018593}, {"id": 9018597, "title": "Test opposite-number() #4", "description": null, "duration": 0.12525248527526855, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018593}, {"id": 9018598, "title": "Test opposite-number() #5", "description": null, "duration": 0.11493110656738281, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018593}, {"id": 9018599, "title": "Task 5: Count Numbers in Array", "description": null, "duration": 0.5607955455780029, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018600, "title": "Test counter() #1", "description": null, "duration": 0.11988377571105957, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018599}, {"id": 9018601, "title": "Test counter() #2", "description": null, "duration": 0.11453104019165039, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018599}, {"id": 9018602, "title": "Test counter() #3", "description": null, "duration": 0.11249542236328125, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018599}, {"id": 9018603, "title": "Test counter() #4", "description": null, "duration": 0.11081862449645996, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018599}, {"id": 9018604, "title": "Test counter() #5", "description": null, "duration": 0.10306668281555176, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018599}, {"id": 9018605, "title": "Task 6: Pascal's Triangle", "description": null, "duration": 0.5119142532348633, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018606, "title": "Test sum_squared() #1", "description": null, "duration": 0.1029207706451416, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018605}, {"id": 9018607, "title": "Test sum_squared() #2", "description": null, "duration": 0.10187792778015137, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018605}, {"id": 9018608, "title": "Test sum_squared() #3", "description": null, "duration": 0.1023714542388916, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018605}, {"id": 9018609, "title": "Test sum_squared() #4", "description": null, "duration": 0.1047823429107666, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018605}, {"id": 9018610, "title": "Test sum_squared() #5", "description": null, "duration": 0.09996175765991211, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018605}, {"id": 9018611, "title": "Task 7: Min-and-Max Price", "description": null, "duration": 1.0082309246063232, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018612, "title": "Test array_min() #1", "description": null, "duration": 0.09920644760131836, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018613, "title": "Test array_min() #2", "description": null, "duration": 0.10057687759399414, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018614, "title": "Test array_min() #3", "description": null, "duration": 0.09878873825073242, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018615, "title": "Test array_min() #4", "description": null, "duration": 0.09382867813110352, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018616, "title": "Test array_min() #5", "description": null, "duration": 0.1054372787475586, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018617, "title": "Test array_max() #1", "description": null, "duration": 0.10604286193847656, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018618, "title": "Test array_max() #2", "description": null, "duration": 0.10419845581054688, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018619, "title": "Test array_max() #3", "description": null, "duration": 0.10106706619262695, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018620, "title": "Test array_max() #4", "description": null, "duration": 0.10198235511779785, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018621, "title": "Test array_max() #5", "description": null, "duration": 0.09710216522216797, "score": 0.1, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018611}, {"id": 9018622, "title": "Task 8: Special Counter", "description": null, "duration": 0.5007596015930176, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018623, "title": "Test special_counter() #1", "description": null, "duration": 0.09897112846374512, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018622}, {"id": 9018624, "title": "Test special_counter() #2", "description": null, "duration": 0.09910297393798828, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018622}, {"id": 9018625, "title": "Test special_counter() #3", "description": null, "duration": 0.09847521781921387, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018622}, {"id": 9018626, "title": "Test special_counter() #4", "description": null, "duration": 0.10092639923095703, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018622}, {"id": 9018627, "title": "Test special_counter() #5", "description": null, "duration": 0.10328388214111328, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018622}, {"id": 9018628, "title": "Task 9: Special Numbers", "description": null, "duration": 0.526353120803833, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 340039, "parent": null}, {"id": 9018629, "title": "Test special_numbers() #1", "description": null, "duration": 0.10559225082397461, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018628}, {"id": 9018630, "title": "Test special_numbers() #2", "description": null, "duration": 0.1076364517211914, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018628}, {"id": 9018631, "title": "Test special_numbers() #3", "description": null, "duration": 0.10819840431213379, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018628}, {"id": 9018632, "title": "Test special_numbers() #4", "description": null, "duration": 0.10342621803283691, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018628}, {"id": 9018633, "title": "Test special_numbers() #5", "description": null, "duration": 0.10149979591369629, "score": 0.3, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 340039, "parent": 9018628}], "id": 340039, "resource_id": "d8ff2d7a-2288-4657-a858-cfc6d299942d", "date_submitted": "2020-11-02T10:18:44Z", "date_evaluated": "2020-11-02T11:12:51.596Z", "max_score": 12.0}