Day18 remove debug prints
This commit is contained in:
parent
054ca54991
commit
2c03f7e745
1 changed files with 0 additions and 2 deletions
|
@ -63,7 +63,6 @@ impl RPN {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn eval(&self) -> i64 {
|
fn eval(&self) -> i64 {
|
||||||
println!("{:?}", self.0);
|
|
||||||
let mut stack = vec![];
|
let mut stack = vec![];
|
||||||
for token in &self.0 {
|
for token in &self.0 {
|
||||||
match token {
|
match token {
|
||||||
|
@ -108,7 +107,6 @@ pub fn input_generator(input: &str) -> Vec<Vec<Token>> {
|
||||||
let exprs: Vec<Vec<Token>> = input
|
let exprs: Vec<Vec<Token>> = input
|
||||||
.lines()
|
.lines()
|
||||||
.map(|l| {
|
.map(|l| {
|
||||||
println!("parsing: {:?}", l);
|
|
||||||
l.replace("(", "( ")
|
l.replace("(", "( ")
|
||||||
.replace(")", " )")
|
.replace(")", " )")
|
||||||
.split_ascii_whitespace()
|
.split_ascii_whitespace()
|
||||||
|
|
Loading…
Reference in a new issue