Codechef Problems: CodeMat (CDMT)

 Problem Statement: 


Solution: 

Given, 
    X : number of participant in past event 
    Y : Present number of participants 
to find, Determine whether this year's event is more successful 

Code Solution: 

#include <bits/stdc++.h>

using namespace std;

int main() {
    int x, y;
    cin >> x >> y;
    if (x > y)
        cout << "no";
    else
        cout << "yes";

}

Comments