Advertisement
paranid5

08.02 DZ 6

Feb 8th, 2021
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.10 KB | None | 0 0
  1. fun main() = (3672..9117).filter {
  2.     it % 3 == 2 && it % 5 == 4
  3. }.run { print("$size ${sum()}") }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement