Skip to main content
eNauczanie
  • Home
  • All courses
  • More
English ‎(en)‎
English ‎(en)‎ Polski ‎(pl)‎
You are currently using guest access
Log in
Home All courses
  1. AiSD(IS)
  2. Zadanie nr 4

Zadanie nr 4

Zadanie nr 4

Completion requirements
Opened: Tuesday, 9.12.2008, 13:55
Due: Friday, 8.01.2010, 23:55

Wyszukiwanie wzorca w tekście "Metoda naiwna"


Zadanie:

Na wejściu dany jest tekst - np. abacabbacabbcababa oraz wzorzec - np. aba

na wyjściu informacja, w którym miejscu występuje wzorzec w tekście.

Przykład

tekst - abacabbacabbcababa

wzorzec - aba

wyjście: 0,13,15

Algorytm: metoda naiwna

Co przesyłamy do oceny: Plik zad4nazwisko.c z programem.

Kryteria oceny: program poprawny, zwięzły, dobrze skomentowany.

◄ http://www.algorytm.org
http://www.algorytm.org/index.php?option=com_content&task=view&id=14&Itemid=28 ►

eNauczanie is a platform based on Moodle learning system, which allows both students and lecturers to learn on-line, take exams to verify their knowledge and solve interactive exercises. Modern didactic platform offers nearly 5000 courses in different faculties for more than 20 000 unique users every year.

Privacy | Terms and conditions | Accessibility

 
  • Course template
  • Information Portal about eLearning
  • eLearning Platform Support
  • Academic Calendar
  • Eduroam wireless network

Session timeout:

Copyright © 2008 - 2025 Gdańsk University of Technology IT Service Centre
Get the mobile app