Portál AbcLinuxu, 28. října 2025 20:54
Řešení dotazu:
for i in $(<text.txt); do echo $i | grep a | grep b | grep c | grep d ; doneTo je domácí úkol na ZŠ?
void check_word(const char* word)
{
size_t idx;
size_t letters_len = strlen(letters);
for (idx = 0; idx < letters_len; idx++) {
if (strchr(word, letters[idx]) == NULL)
return;
}
printf("Word %s contains all letters\n", word);
}
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.