MCPcopy Create free account
hub / github.com/algorithm-archivists/algorithm-archive / grid_cmp

Function grid_cmp

contents/flood_fill/code/c/flood_fill.c:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191int grid_cmp(int *a, int *b, int size) {
192 for (int i = 0; i < size; ++i) {
193 if (a[i] != b[i]) {
194 return 0;
195 }
196 }
197
198 return 1;
199}
200
201int main() {
202 int grid[25] = {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected