Triming
This commit is contained in:
parent
209967ef0c
commit
d89d13f7fd
@ -1,10 +1,10 @@
|
|||||||
#define LINE_SIZE 100
|
#define LINE_SIZE 100
|
||||||
#define POCET_JEDAL 100000
|
#define POCET_JEDAL 100000 //macros pre velky vstupy a vystupy
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
struct pizza
|
struct pizza ///materialy z cvicenia
|
||||||
{ float prize;
|
{ float prize;
|
||||||
char name[LINE_SIZE];
|
char name[LINE_SIZE];
|
||||||
};
|
};
|
||||||
@ -20,7 +20,7 @@ char hacker_script(char c) {
|
|||||||
|
|
||||||
|
|
||||||
if (isupper(c)) {
|
if (isupper(c)) {
|
||||||
return (char) tolower(c);
|
return tolower(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user