We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c7f6d commit 713bf52Copy full SHA for 713bf52
Set Cover (Unweighted)/SetCover.playground/Contents.swift
@@ -1,3 +1,10 @@
1
+// SetCover
2
+
3
+// last checked with Xcode 9.0b4
4
+#if swift(>=4.0)
5
+print("Hello, Swift 4!")
6
+#endif
7
8
let universe1 = Set(1...7)
9
let array1 = randomArrayOfSets(covering: universe1)
10
let cover1 = universe1.cover(within: array1)
0 commit comments