microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.0.33

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

katas/content/oracles/classical_oracles/index.md

10lines · modepreview

**Input:** 
  A bit vector of length 3 represented as a `Bool[]` - a binary representation of a number.

**Output:**
  Return `true` if the input array represents the number $7$, and `false` otherwise.

**Examples:**

* If the input array is `[true, true, true]`, return `true`.
* If the input array is `[true, true, false]`, return `false`.