paranid5

08.02 ДЗ 1

Feb 8th, 2021 (edited)
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.16 KB | None | 0 0
  1. fun main() = (1012..9638).filter {
  2.     it % 3 == 0 &&
  3.     it % 11 != 0 &&
  4.     it % 13 != 0 &&
  5.     it % 17 != 0 &&
  6.     it % 19 != 0
  7. }.run { print("$size ${last()}") }
Add Comment
Please, Sign In to add comment