Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- template <typename IterTip1, typename IterTip2>
- bool RazlicitiBlokovi(IterTip1 Pocetak, IterTip1 Kraj, IterTip2 PocetakOdredista)
- {
- bool Isti(true);
- while(Pocetak != Kraj)
- {
- if(*Pocetak != *PocetakOdredista)
- Isti = false;
- Pocetak++;
- PocetakOdredista++;
- }
- return !Isti;
- }
- int main()
- {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement