subject

A class has 'n' students and each student appears for exactly 'k' exams. The class teacher has the ist of marks scored by all the students and needs to identify the sudent with the nth Rank. Rank is the position in the sorted list of total marks, from high to low. If two students have equal total marks, their original order is maintained while sorting. Given the initial order of the marks and the required rank of the student, output the index of the chosen student by the teacher. Given the initial order of the marks and the required rank of the student, output the index of the chosen student by the teacher. For example, given the data for n 3 student as performance (179, 89, 15), (85, 89, 921, (71, 96, 8811 and the required position be rank 2, the student with index 2 is the answer. The total marks for each student in class are Il 83, 266, 255) respectively and the student with total score of 255 has a rank of 2.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:00, dustysorrells74
Someone with this coz i don’t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
image
Computers and Technology, 22.06.2019 18:00, abbygriffin2009
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
image
Computers and Technology, 23.06.2019 06:40, euniceyi56
How many nibbles can be stored in a 16-bit word?
Answers: 1
image
Computers and Technology, 23.06.2019 18:00, taiyana74
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
You know the right answer?
A class has 'n' students and each student appears for exactly 'k' exams. The class teacher has the i...

Questions in other subjects: