Anna.cpp: In function 'std::pair<std::__cxx11::basic_string<char>, int> anna(int, std::string)':
Anna.cpp:31:33: error: 'sm' cannot be used as a function
31 | char f = sm(c, d);
| ^
Anna.cpp:56:21: error: type/value mismatch at argument 2 in template parameter list for 'template<class _T1, class _T2> struct std::pair'
56 | pair<string, ans> so = {ans, 130};
| ^
Anna.cpp:56:21: note: expected a type, got 'ans'
Anna.cpp:56:23: error: scalar object 'so' requires one element in initializer
56 | pair<string, ans> so = {ans, 130};
| ^~
Anna.cpp: In function 'char sm(char, char)':
Anna.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
17 | }
| ^