It's UWAweek 17 (1st semester, week 8)

help2200

This forum is provided to promote discussion amongst students enrolled in CITS2200 Data Structures and Algorithms.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 2 articles in this topic
Showing 2 of 97 articles.
Currently 1 other person reading this forum.


 UWA week 13 (1st semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
6:09pm Tue 26th Mar, ANONYMOUS

We were asked to have ranks according to the Standard competition ranking ("1224" ranking) but when I add ranks to the list runs, i.e, when i add ( rank,time,name) to get_runs function it doesnt pass the test as in the test it expects (time,rank) but when i dont add ( rank,time,name) and just add (time,name) it passes all tests. i created a new list after ranking according to the requirements and then return it: ranked_runs.append((rank, time, name)) return ranked_runs


SVG not supported

Login to reply

👍?
helpful
9:30pm Tue 26th Mar, William R.

the output expected of get_runs is a list of tuples in form (time, name), ranks are good I use them myself in a class for the entries but you need to convert them back into the (time, name) form for get_runs.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy