Arara!

Problem Link

Solution by mateusgrl39100 pts

Code / Notes

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

int main() {
    int N, M;
    cin >> N >> M;
    int min = 5*(N - 1) + 1;
    if (M >= min) cout << "S";
    else cout << "N";
}

Last updated 1 month, 4 weeks ago


« Back to problem