-
-
Save enzerr/2dfdf3520216970dfa47645cee5dee00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
int main(){ | |
int a, b, R, g; cin >> a >> b >> R >> g; | |
int diametro = 2*R; | |
if(diametro<=a && diametro<=b && (360%g)==0) cout << "S\n"; | |
else cout << "N\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment