Programming Basics Online Exam - 15 and 16 June 2019 задача: 04. Movie Stars

https://softuni.bg/downloads/svn/programming-basics-v4/course-directories/september-2019/2019-04/Exam/04.%20Movie%20Stars.pdf

Дава ми "Грешка при компилация"

int main()
{
    double budget;
    cin >> budget;
    cin.ignore();
    string nameActor;
    getline(cin, nameActor);
    double budgetLeft = budget;
    
    while (nameActor != "ACTION")
    {
        double payment;
        if (nameActor.size() <= 15)
        {
            cin >> payment;
        }
        else
        {
            payment = 0.2 * budgetLeft;
        }
        budgetLeft -= payment;
        if (budgetLeft < 0)
        {
            cout << "We need " << fixed << setprecision(2) << abs(budgetLeft) << " leva for our actors." << endl;
            return 0;
        }
        cin.ignore();
        getline(cin, nameActor);
    }
    cout << "We are left with " << fixed << setprecision(2) << budgetLeft << " leva." << endl;
           
    return 0;
}