Herbology
Submit your solution to [email protected] before Friday, November 20th 11:59 HOL time!
Be sure to include all variables, and include your HOL name, ID, and House with your submission!
Be sure to include all variables, and include your HOL name, ID, and House with your submission!
Professor Sprout has seen numerous students come and go during her years teaching Herbology. To keep it fresh and exciting the Professor lets the students do lectures and presentations about their favorite Herbology subject. During one of these presentations the Professor made notes on her parchment. Afterwards she sat down with a cup of tea to write the grades into her gradebook. Clumsily she spilled some tea over her notes. Now the letters are all smudged so she can’t read it very clearly. It is up to you to help the Professor.
The Professor remembered some of the facts about the students’ presentations. Like what the differences were between the duration of the presentations (there were ones lasting for 11, 14, 23 minutes), who didn't do a particular subject (one was on Venomous Tentacula) and didn't get a specific grade. But she doesn't remember the actual combinations. Your task is to match the students with their subjects, the amount of time they spoke during the presentation and their grade.
- Marvolo spoke for a somewhat longer time than Samuel.
- Yvonne spoke 12 minutes more than the student who got the O.
- Wulfram was either the presenter who gave the presentation on Fluxweed or the student who gave the presentation on Asphodel, either way he had to stop before the end of his presentation.
- Of the student who gave the presentation on the Severing Charm and the presenter who gave the presentation on Dragon Dung, one got the T and the other was Samuel.
- Marvolo was either the presenter who got the EE or the presenter who spoke for 17 minutes.
- The presenter who got the P was either the student who spoke for 17 minutes or Yvonne.
- The student who got the D spoke 9 minutes more than the student who got the EE.
- The presenter who got the P spoke 3 minutes more than the presenter who gave the presentation on Wormwood.
- The student who got the T spoke for a somewhat longer time than the presenter who gave the presentation on the Severing Charm.
- Nadine spoke 3 minutes less than the student who didn't get a grade.
- Maude didn't talk about Wormwood.
- The presenter who spoke for 5 minutes was either Samuel or the presenter who gave the presentation on Gillyweed.
- The student who got the A didn't talk about the Severing Charm.
- Of Helena and Yvonne, one spoke for 20 minutes and the other talked about Gillyweed.
- The student who didn't get a grade spoke 12 minutes less than the presenter who gave the presentation on Asphodel.
- The student who spoke for 8 minutes didn't talk about Fluxweed.