✏️ Note
let num = 10        // число
len text = 'Text' // строка
| /* Description: | |
| Given an array (arr) as an argument complete the function countSmileys that should return the total number of smiling faces. | |
| Rules for a smiling face: | |
| -Each smiley face must contain a valid pair of eyes. Eyes can be marked as : or ; | |
| -A smiley face can have a nose but it does not have to. Valid characters for a nose are - or ~ | |
| -Every smiling face must have a smiling mouth that should be marked with either ) or D. | |
| No additional characters are allowed except for those mentioned. | |
| Valid smiley face examples: | |
| :) :D ;-D :~) | |
| Invalid smiley faces: | 
| // | |
| // main.cpp | |
| // dev.thread | |
| // | |
| // Created by lil_exi on 24.09.2018. | |
| // Copyright © 2018 икбо-5-15. All rights reserved. | |
| // | |
| #include <iostream> | |
| #include <thread> | 
| #include <stdio.h> | |
| #include <iostream> | |
| #include <list> | |
| #include <map> | |
| #include <algorithm> | |
| using namespace std; | |
| class automat { | |
| private: |