Compare commits
No commits in common. "f07a256fe610f0c75cca64f132e6f46a47a6ddd5" and "07a7b4477871222fed6a86689190ec1283673231" have entirely different histories.
f07a256fe6
...
07a7b44778
2 changed files with 1 additions and 8 deletions
|
@ -1,2 +0,0 @@
|
||||||
@00000 11\
|
|
||||||
\!=?1/
|
|
|
@ -65,12 +65,7 @@ fn main() {
|
||||||
stdin().read_line(&mut input_text).unwrap();
|
stdin().read_line(&mut input_text).unwrap();
|
||||||
let action: Vec<_> = input_text.trim().split_ascii_whitespace().collect();
|
let action: Vec<_> = input_text.trim().split_ascii_whitespace().collect();
|
||||||
if input_text.starts_with("input ") {
|
if input_text.starts_with("input ") {
|
||||||
interpreter.input.extend(
|
interpreter.input.extend(&input_text.as_bytes()[6..]);
|
||||||
&input_text
|
|
||||||
.strip_suffix('\n')
|
|
||||||
.unwrap_or(&input_text)
|
|
||||||
.as_bytes()[6..],
|
|
||||||
);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
match action.as_slice() {
|
match action.as_slice() {
|
||||||
|
|
Loading…
Reference in a new issue