Arara!

Problem Link

Solution by TheRealFertos100 pts

Code / Notes

#include <bits/stdc++.h>
using namespace std;

int main() {
    int a, g;
    cin >> a >> g;
    g-=a;
    a=(a-1)*4;
    if (g>=a) {
        cout << 'S';
    }
    else {
        cout << 'N';
    }
}

Last updated 1 month, 4 weeks ago


« Back to problem