Hr0dL4nd
Orlando   Brazil
 
 
No information given.
Currently Offline
Recent Activity
216 hrs on record
last played on 1 Feb
662 hrs on record
last played on 31 Jan
112 hrs on record
last played on 28 Jan
Comments
sorvete 9 Nov, 2024 @ 6:32am 
'-'
ManoPingu 20 Dec, 2022 @ 6:08am 
…………………...„„-~^^~„-„„_
………………„-^*'' : : „'' : : : : *-„
…………..„-* : : :„„--/ : : : : : : : '\
…………./ : : „-* . .| : : : : : : : : '|
……….../ : „-* . . . | : : : : : : : : |
………...\„-* . . . . .| : : : : : : : :'|
……….../ . . . . . . '| : : : : : : : :|
……..../ . O . . O . .'\ : : : : : : |
……../ . . . . . . . . . .\ : : : : : : :|
……./ . . . __. .. . . . . '\ : : : : : /
….../ . . . .. . . . . . . . . *-„„„„-*'
….'/ . . . . . . . . . . . . . . '|
…/ . . . . . . . ./ . . . . . . .|
../ . . . . . . . .'/ . . . . . . .'| Cole este homem de chapéu no perfil de seus amigos para dar
./ . . . . . . . . / . . . . . . .'| boa sorte!
'/ . . . . . . . . . . . . . . . .'|
'| . . . . . \ . . . . . . . . . .|
'| . . . . . . \„_^- „ . . . . .'|
'| . . . . . . . . .'\ .\ ./ '/ . |
| .\ . . . . . . . . . \ .'' / .
luiszlol 14 Jul, 2022 @ 7:23pm 
#include <stdio.h>

typedef struct {
int x, y;
} Ponto;

typedef struct {
Ponto supEsq;
Ponto infDir;
} Retangulo;


Ponto createPonto(int x1, int y1){
Ponto p = {x1, y1};
return p;
}

Retangulo createRetangulo(int x1, int y1, int x2, int y2) {
Retangulo r = {{x1,y1}, {x2,y2}};
return r;
};

int dentro(Retangulo r, Ponto p);

int main(){
int x1, y1, x2, y2;
scanf("%d %d %d %d", &x1, &y1, &x2, &y2);
Retangulo r = createRetangulo(x1, y1, x2, y2);
int x, y;
scanf("%d %d", &x, &y);
Ponto p = createPonto(x,y);
printf("%d\n", dentro(r,p) ); //1
}


int dentro(Retangulo r, Ponto p){

Ponto supEsq = r.supEsq;
Ponto infDir = r.infDir;

if( p.x >= supEsq.x && p.x <= infDir.x && p.y >= infDir.y && p.y <= supEsq.y )
return 1;
}
}
bingo 31 Jan, 2022 @ 10:05pm 
⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠛⠛⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⡿⠋⠁⠄⠄⠄⠄⠄⠄⠄⠄⠚⠿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⡟⠄⣀⣤⣤⣀⣀⠄⠄⣀⣀⣤⣄⡀⠘⣿⣿⣿⣿⣿
⣿⣿⠿⠃⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠘⠿⣿⣿⣿
⣿⠁⣴⡄⢸⣿⣿⠁⠈⣿⣿⣿⡟⠄⠈⣿⣿⡇⢸⣦⠘⣿⣿
⣿⡄⠻⠇⠄⠻⣿⣦⣴⣿⢻⡟⣿⣤⣴⣿⠟⠄⠹⠟⢠⠋⠄
⣿⣿⣶⡀⠄⠄⣼⣿⣿⣿⣾⣷⣿⣿⣿⣆⠄⠄⢰⣾⡇⠄⢸
⣿⣿⣿⣷⡀⠄⢻⣧⣄⡀⠄⠄⣀⣠⣿⡏⠄⠄⠘⠿⣷⣄⠄
⣿⣿⣿⣿⣿⣦⣄⡙⠻⠿⢿⡿⠿⠟⠋⠄⠄⠄⠄⠄⠈⢻⣿
⣿⣿⣿⣿⣿⣿⣿⣿⠁⠄⠄⢀⠾⠿⢿⣶⡄⠄⠄⠄⠄⠄⢻
⣿⣿⣿⣿⣿⣿⣿⠇⠄⠄⢀⠂⠄⠄⠄⠙⢿⡆⠄⠄⠄⠄⠄
⣿⣿⣿⣿⣿⣿⡟⠄⠄⢀⣾⠄⠄⠄⠄⠄⠄⢻⠄⠄⠄⠄⠄
⣿⣿⣿⣿⣿⣿⠃⠄⢀⣾⣇⠄⠄⠄⠄⠄⠄⠈⠄⠄⠄⠄⠄
⣿⣿⣿⣿⣿⣿⣶⣠⣾⣿⣿⣤⣤⣸⡀⠄⠄⠄⠄⠄⠄⠄⠄