MCPcopy Create free account
hub / github.com/Jonathan-Uy/CSES-Solutions / hashes_equal

Function hashes_equal

String Algorithms/String Matching.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11char S[maxN], T[maxN];
12
13bool hashes_equal(){
14 for(int p = 0; p < numP; p++)
15 if(sh[p] != th[p])
16 return false;
17 return true;
18}
19
20int main(){
21 scanf("%s %s", S, T);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected