diff --git a/README.md b/README.md index 1794f76..1299f1d 100644 --- a/README.md +++ b/README.md @@ -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) - [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) - [200B Drinks](https://codeforces.com/problemset/problem/200/B) - [160A Twins](https://codeforces.com/problemset/problem/160/A) - [133A HQ9+](https://codeforces.com/problemset/problem/133/A) diff --git a/solutions/rust/src/bin/208A.rs b/solutions/rust/src/bin/208A.rs deleted file mode 100644 index 591d5c4..0000000 --- a/solutions/rust/src/bin/208A.rs +++ /dev/null @@ -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::>().join(" "); - - println!("{}", new); -}