2021-09-28 14:26:25 +00:00
|
|
|
#include <stdio.h>
|
2021-10-04 15:54:42 +00:00
|
|
|
#include <string.h>
|
|
|
|
#define LINESIZE 100
|
|
|
|
|
|
|
|
struct Pizza {
|
|
|
|
float prize;
|
|
|
|
char name[LINESIZE];
|
|
|
|
};
|
|
|
|
|
|
|
|
int nacitaj(struct Pizza* polozka){
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int matches(heap, needle){
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
char r[LINESIZE];
|
|
|
|
char hacker_script(char c){
|
|
|
|
if (c == '5'){
|
|
|
|
r == 'S';
|
|
|
|
}
|
|
|
|
return r;
|
|
|
|
}
|
2021-09-28 14:26:25 +00:00
|
|
|
|
|
|
|
int main (){
|
2021-10-04 15:54:42 +00:00
|
|
|
char search_string[LINESIZE] = "Ostiepkova";
|
|
|
|
while(1){
|
|
|
|
char *r = fgets(line, LINESIZE, stdin);
|
|
|
|
if (r == NULL){
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
struct Pizza pizza;
|
|
|
|
memset(line, 0, sizeof(struct Pizza));
|
|
|
|
strcpy(pizz->name, line);
|
|
|
|
if (matches(search_string, line)){
|
|
|
|
printf("%s", pizza->name)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
2021-09-28 14:26:25 +00:00
|
|
|
}
|