This is very confusing for me; we cant use import statements; Please create code for me with the following input numbers because I'm very confused number of roasts ; 3 number of students ; 3 number of professors ; 3 student1 roasts professor2 for the first time, then 5 minutes later roasts him again (gets students 1500 points) student 2 roasts professor2 once (gets students additional 500 points) student 3 roasts professor1, then 8 minutes later roasts professor 2, then 3 minutes later roasts professor 3 ( gets students additional 2500 points professor1 roasts student1 for first time, then 9 minutes later roasts student 2 (gets professors 1500 points professor2 roasts student2 for the first time, then 11 minutes later roasts student 3 (gets professors another 1000 points) professor roasts student 2 (gets team another 500 points)
This is very confusing for me;
we cant use import statements;
Please create code for me with the following input numbers because I'm very confused
number of roasts ; 3
number of students ; 3
number of professors ; 3
student1 roasts professor2 for the first time, then 5 minutes later roasts him again (gets students 1500 points)
student 2 roasts professor2 once (gets students additional 500 points)
student 3 roasts professor1, then 8 minutes later roasts professor 2, then 3 minutes later roasts professor 3 ( gets students additional 2500 points
professor1 roasts student1 for first time, then 9 minutes later roasts student 2 (gets professors 1500 points
professor2 roasts student2 for the first time, then 11 minutes later roasts student 3 (gets professors another 1000 points)
professor roasts student 2 (gets team another 500 points)
Step by step
Solved in 4 steps with 2 images