solutions: remove rust/208A
This commit is contained in:
parent
0180a76ed4
commit
8d3457b028
2 changed files with 0 additions and 15 deletions
|
@ -47,7 +47,6 @@ My set of solutions to the problems on Code Forces.
|
||||||
- [236A Boy or Girl](https://codeforces.com/problemset/problem/236/A)
|
- [236A Boy or Girl](https://codeforces.com/problemset/problem/236/A)
|
||||||
- [230A Dragons](https://codeforces.com/problemset/problem/230/A)
|
- [230A Dragons](https://codeforces.com/problemset/problem/230/A)
|
||||||
- [208A Dubstep](https://codeforces.com/problemset/problem/208/A)
|
- [208A Dubstep](https://codeforces.com/problemset/problem/208/A)
|
||||||
- [208A Dubstep](https://codeforces.com/problemset/problem/208/A)
|
|
||||||
- [200B Drinks](https://codeforces.com/problemset/problem/200/B)
|
- [200B Drinks](https://codeforces.com/problemset/problem/200/B)
|
||||||
- [160A Twins](https://codeforces.com/problemset/problem/160/A)
|
- [160A Twins](https://codeforces.com/problemset/problem/160/A)
|
||||||
- [133A HQ9+](https://codeforces.com/problemset/problem/133/A)
|
- [133A HQ9+](https://codeforces.com/problemset/problem/133/A)
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
use std::io;
|
|
||||||
use regex::Regex;
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
let mut s = String::new();
|
|
||||||
io::stdin().read_line(&mut s).unwrap();
|
|
||||||
|
|
||||||
let re = Regex::new(r"WUB*").unwrap();
|
|
||||||
let result = re.replace_all(s.trim(), " ");
|
|
||||||
|
|
||||||
let new = result.split_whitespace().map(|s| s.to_string()).collect::<Vec<String>>().join(" ");
|
|
||||||
|
|
||||||
println!("{}", new);
|
|
||||||
}
|
|
Loading…
Reference in a new issue