progs/pow.scala
changeset 768 34f77b976b88
parent 765 b294cfbb5c01
child 801 7aab258bf72a
equal deleted inserted replaced
767:bdd12391d345 768:34f77b976b88
    61 
    61 
    62 val B = Set("a", "b", "")
    62 val B = Set("a", "b", "")
    63 pow(B, 4)
    63 pow(B, 4)
    64 pow(B, 4).size
    64 pow(B, 4).size
    65 
    65 
    66 
    66 val C = Set("a", "")
       
    67 pow(C, 4)
       
    68 pow(C, 4).size
    67 
    69 
    68 val SA = Set("a", "b", "c", "d")
    70 val SA = Set("a", "b", "c", "d")
    69 val SB = Set("0", "1", "2", "3", "4", "5", "6")
    71 val SB = Set("0", "1", "2", "3", "4", "5", "6")
    70 
    72 
    71 concat(SA, SB).size
    73 concat(SA, SB).size