MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/searching/binary_search2.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 return "No";
33}
34int main(){
35 cin.tie(0)->sync_with_stdio(0);
36 int n,m;
37 cin>>n>>m;
38 int arr1[n],arr2[m];
39 for (int i = 0; i < n; i++) {
40 cin>>arr1[i];
41 }
42 for (int i = 0; i < m; i++) {
43 cin>>arr2[i];
44 }
45 cout<<isSubset(arr1,arr2,n,m);
46 return 0;
47}
48
49

Callers

nothing calls this directly

Calls 1

isSubsetFunction · 0.85

Tested by

no test coverage detected