For this Question: Given a string s, your task is to find the total number of unique characters in a string.The first line of the input contains a string s, <b>Note s can also contains white spaces</b>

<b>Constraints</b>
1 <= s. length() <= 10<sup>5</sup>Print the total number of unique characters.Sample Input 1:
newton School

Sample Output 1:
10, I have written this Solution Code: /**
 *      Author : tourist1256
 *      Time   : 2022-01-18 01:39:40
 **/

#include <bits/stdc++.h>

using namespace std;

#ifdef LOCAL
#define debug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define debug(...) 2351
#endif

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    string str;
    getline(cin, str);
    map<char, int> freq;
    for (auto &it : str) {
        freq[it] += 1;
    }
    cout << freq.size() << "\n";
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?