188222025-11-06 13:33:52dfehervariBinária könyvtáracpp17Forditási hiba
// NOTE: it is recommended to use this even if you don't understand the following code.

#include <fstream>
#include <iostream>
#include <string>
#include <vector>

using namespace std;

int main() {
    // uncomment the two following lines if you want to read/write from files
    // ifstream cin("input.txt");
    // ofstream cout("output.txt");

    int N;
    cin >> N;

    int K;
    cin >> K;

    int S;
    cin >> S;

    string R = "";
    if (N*K<S){
        R="NO"
    }
    else{
        R="YES"
    }


    // INSERT YOUR CODE HERE


    cout << R << endl;

    return 0;
}
Forditási hiba
open /var/local/lib/isolate/417/box/a.out: no such file or directory
main.cpp: In function 'int main()':
main.cpp:26:15: error: expected ';' before '}' token
   26 |         R="NO"
      |               ^
      |               ;
   27 |     }
      |     ~          
main.cpp:29:16: error: expected ';' before '}' token
   29 |         R="YES"
      |                ^
      |                ;
   30 |     }
      |     ~