Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- int main() {
- int a, b, c, l, h, aux;
- scanf(" %d %d %d %d %d", &a, &b, &c, &h, &l);
- if(a > b){
- aux = a;
- a = b;
- b = aux;
- }
- if(a > c){
- aux = a;
- a = c;
- c= aux;
- }
- if(b > c){
- aux = b;
- b = c;
- c = aux;
- }
- if(l > h){
- aux = l;
- l = h;
- h = aux;
- }
- if(a < l && b < h){
- printf("S");
- }
- else{
- printf("N");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement