Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,9 @@
|
||||
def status_word(ready: Int, armed: Int) -> Int:
|
||||
return ready & armed
|
||||
|
||||
|
||||
def main():
|
||||
var READY = 1
|
||||
var ARMED = 2
|
||||
var flags = status_word(READY, ARMED)
|
||||
print("armed:", (flags & ARMED) != 0)
|
||||
Reference in new issue
Block a user