change load/run style, hunt for memory leaks
parent
8a25cb84e7
commit
31458dd042
@ -0,0 +1,12 @@
|
|||||||
|
go = 1
|
||||||
|
while (go == 1) {
|
||||||
|
print("> ")
|
||||||
|
input = gets()
|
||||||
|
answer = solve(input)
|
||||||
|
if (answer == 42) {
|
||||||
|
go = 0
|
||||||
|
}
|
||||||
|
print("\n")
|
||||||
|
print(answer)
|
||||||
|
print("\n")
|
||||||
|
}
|
Loading…
Reference in New Issue