Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- public static bool JePodmnozinou(int[] S, int[] T)
- {
- Hashtable Tabulka = new Hashtable(T.Length);
- foreach (int cislo in T)
- Tabulka.Add(cislo, null);
- foreach (int cislo in S)
- if (!Tabulka.Contains(cislo))
- return false;
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment