Исправление Im_not_a_robot, 17.12.18 11:25 (текущая версия) :
using namespace std;
Или
std::string a;
Исходная версия Im_not_a_robot, 17.12.18 11:22: