提交 a0f20f09 编写于 作者: B bors

auto merge of #12765 : TeXitoi/rust/fix-shootout-reverse-complement, r=alexcrichton

......@@ -9,6 +9,7 @@
// except according to those terms.
// ignore-android doesn't terminate?
// ignore-pretty
use std::iter::range_step;
use std::io::{stdin, stdout, File};
......@@ -73,10 +74,11 @@ fn main() {
*front = complements[*back];
*back = tmp;
}
(Some(last), None) => *last = complements[*last], // last element
_ => break // vector exhausted.
}
}
}
stdout().write(data);
stdout().write(data).unwrap();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册