Solution to the problem number 112 of AceptaelReto - 112.

Any questions do not hesitate to contact.

#include <iostream>

using namespace std;

int main() {
    int d, v, t;
    while (cin >> d >> v >> t && !(d == 0 && v == 0 && t == 0)) {
        if (d <= 0 || v <= 0 || t <= 0) {
            cout << "ERROR" << endl;
            continue;
        }

        if (18*d <= 5*t*v) cout << "OK" << endl;
        else if (3*d < t*v) cout << "MULTA" << endl;
        else cout << "PUNTOS" << endl;
    }

    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!