Skip to content

Instantly share code, notes, and snippets.

@enzerr
Created January 15, 2023 14:41
Show Gist options
  • Save enzerr/2dfdf3520216970dfa47645cee5dee00 to your computer and use it in GitHub Desktop.
Save enzerr/2dfdf3520216970dfa47645cee5dee00 to your computer and use it in GitHub Desktop.
#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