Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,7 @@
|
||||
def is_allowed(sensor_id: Int, allowed: List[Int]) -> Bool:
|
||||
return sensor_id not in allowed
|
||||
|
||||
|
||||
def main():
|
||||
var allowed: List[Int] = [2, 4, 6]
|
||||
print("ok:", is_allowed(4, allowed))
|
||||
Reference in new issue
Block a user