Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <netdb.h>
#include <netinet/ip.h>
#include <sys/socket.h>
void err() {
write(2, "Fatal error\n", 12);
//gcc -Wall -Wextra -Werror -std=c98 -o meys biggest_square.c
//echo -e "5.ox\n.....\n.....\noooo.\n.....\n....." | ./meys
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
int min3(int a, int b, int c) {
int r = a;
if (b < r) r = b;
//gcc -Wall -Wextra -Werror -o meys life.c
//echo 'xssdswdxddddsxaadwxwdxwaa' | ./meys 6 4 0 | cat -e
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(int ac, char **av) {
if (ac != 4)
return 1;