42_rainfall/level7/source.c

33 lines
511 B
C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
char c[80];
void m(void)
{
time_t current_time;
current_time = time((time_t *)0x0);
printf("%s - %d\n", c, current_time);
return;
}
int32_t main(int32_t ac, char **av)
{
int32_t *str = malloc(8);
str[0] = 1;
str[1] = malloc(8);
int32_t *str2 = malloc(8);
str2[0] = 2;
str2[1] = malloc(8);
strcpy(str[1], av[1]);
strcpy(str2[1], av[2]);
fgets(c, 68, fopen("/home/user/level8/.pass", "r"));
puts("~~");
return 0;
}