Created
December 22, 2016 15:43
-
-
Save boxysean/77263ca0f7b38707bee6dc3151335f13 to your computer and use it in GitHub Desktop.
To get you started with B...
This file contains hidden or 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
import fileinput | |
def solve(sequence): | |
pass | |
def main(): | |
sequence = [] | |
for line in fileinput.input(): | |
for word in line.split(): | |
x = int(word) | |
if x == -999999: | |
res = solve(sequence) | |
print(res) | |
sequence = [] | |
else: | |
sequence.append(x) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment