func_code_string: #include <bits/stdc++.h>   using namespace std;   const int maxn = 1000 + 5;   map<string, int> mat;   int fonction(string a, string b, string c) {     int x = (mat[b] - mat[a] + 12) % 12;     int y = (mat[c] - mat[b] + 12) % 12;     int z = (mat[c] - mat[a] + 12) % 12;     if (x == 4 && y == 3 && z == 7) return 1;     if (x == 3 && y == 4) return 0;     return -1;   }   int main() {     mat[ C ] = 1;     mat[ C# ] = 2;     mat[ D ] = 3;     mat[ D# ] = 4;     mat[ E ] = 5;     mat[ F ] = 6;     mat[ F# ] = 7;     mat[ G ] = 8;     mat[ G# ] = 9;     mat[ A ] = 10;     mat[ B ] = 11;     mat[ H ] = 12;     string a, b, c;     cin >> a;     cin >> b;     cin >> c;     if (fonction(a, b, c) == 1 || fonction(a, c, b) == 1 ||         fonction(b, a, c) == 1 || fonction(b, c, a) == 1 ||         fonction(c, a, b) == 1 || fonction(c, b, a) == 1)       cout <<  major ;     else if (fonction(a, b, c) == 0 || fonction(a, c, b) == 0 ||              fonction(b, a, c) == 0 || fonction(b, c, a) == 0 ||              fonction(c, a, b) == 0 || fonction(c, b, a) == 0)       cout <<  minor ;     else       cout <<  strange ;     return 0;   }   