IP
Size: a a a
IP
IP
IP
JM
JM
AG
JM
VK
PE
AM
JM
с#
L
PE
с#
L
L
AM
fun solution(seq: Sequence<Int>, f: (Int) -> Boolean) =Продолжаю просить помощи
seq.map {
(2..it).count { j -> it % j == 0 } == 3
}.filter { true }
solution((1..1000).asSequence(), ???).toList()
DK
fun solution(seq: Sequence<Int>, f: (Int) -> Boolean) =Продолжаю просить помощи
seq.map {
(2..it).count { j -> it % j == 0 } == 3
}.filter { true }
solution((1..1000).asSequence(), ???).toList()
L
fun solution(seq: Sequence<Int>) = seq.filter {(2..it).count { j -> it % j == 0 } == 3}Exercise 1.6.2.3 Given a function f: Int => Boolean, an integer n is called a “3- f ” if there are only
solution((1..1000).asSequence()).toList()