Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
fp2025:hw1 [2025/03/21 12:07] dmihai created |
fp2025:hw1 [2025/03/21 12:39] (current) dmihai |
||
---|---|---|---|
Line 115: | Line 115: | ||
**14.** Implement the function ''setOfDivByK'' which returns the set of integers divisible by a value ''k''. Use the appropriate functions you have defined previously in the homework. | **14.** Implement the function ''setOfDivByK'' which returns the set of integers divisible by a value ''k''. Use the appropriate functions you have defined previously in the homework. | ||
<code scala> | <code scala> | ||
- | def setOfDivByK(k: Int): Set = ?? | + | def setOfDivByK(k: Int): Set = ??? |
</code> | </code> | ||
Line 126: | Line 126: | ||
===== Submission rules ===== | ===== Submission rules ===== | ||
- | * Please follow the [[fp202:submission-guidelines| Submission guidelines]] which are the same for all homework. | + | * Please follow the [[fp2025:submission-guidelines| Submission guidelines]] which are the same for all homework. |
- | * To solve your homework, download the {{:fp2024:hw1-functions-as-sets.zip| Project template}}, import it in IntellIJ, and you are all set. Do not rename the project manually, as this may cause problems with IntellIJ. | + | * To solve your homework, download the {{:fp2025:hw1-functions-as-sets.zip| Project template}}, import it in IntellIJ, and you are all set. Do not rename the project manually, as this may cause problems with IntellIJ. |