Created
February 11, 2021 07:57
-
-
Save ashiato45/2b40d22cc08fcf37c030bdc095af1783 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
match s[i-1].as_str(){ | |
"AND" => { | |
}, | |
"OR" => { | |
res = 2i64.pow(i as u32) + res; | |
}, | |
_ => panic!() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment