diff options
Diffstat (limited to 'Borze/main.cpp')
| -rw-r--r-- | Borze/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Borze/main.cpp b/Borze/main.cpp deleted file mode 100644 index b35852f..0000000 --- a/Borze/main.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include<bits/stdc++.h> - -using namespace std; - -int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); - string s; - cin >> s; - s = regex_replace(s, regex("--"), "2"); - s = regex_replace(s, regex("-\\."), "1"); - s = regex_replace(s, regex("\\."), "0"); - cout << s << endl; -} |
