#include <stdio.h>

int strlen(char *s){
	char *p = s;
	while(*p != '\0') p++;
	return p - s;
}

void strcpy(char *s, char *t){
	while(*s++ = *t++)
		;
}

int strcmp(char *s, char *t){
	while(*s++ == *t++){
		printf("%c, %c\n", s, t);
		if(*s == '\0')
			return 0;
	}
	return *s - *t;
}

int main(){
	int p;
	char s[5] = "hooy";
	char t[5];
	char *r = "hooz";
	
	printf("%d\n", strcmp(s, r));
	
	scanf("%d", &p);
	return 0;
}