Arara!

Problem Link

Solution by TioPatinhas100 pts

Code / Notes

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

int main() {
    int A, G;
    cin >> A >> G;
    int d = G - A;
    if (d/4 >= A-1) {
        cout << 'S';
    } else {
        cout << 'N';
    }
} 

Last updated 1 month, 4 weeks ago


« Back to problem