Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <vector>
- #include <map>
- using namespace std;
- int main() {
- string input;
- getline(cin, input);
- for (int i = 0; i != input.length(); ++i) {
- while (input[i] != '-') {
- ++i;
- }
- if (input[i + 1] = 'c') {
- ///
- } else if (input[i + 1] = 'l') {
- ///
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement