MCPcopy Create free account
hub / github.com/anupam-kumar-krishnan/Competitive_Programming / printMatrix

Function printMatrix

All Algorithms/strassen.cpp:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234void printMatrix(int** M, int r, int c) {
235 for (int i = 0; i < r; i++) {
236 for (int j = 0; j < c; j++)
237 cout << M[i][j] << " ";
238 cout << endl;
239 }
240 cout << endl;
241}
242
243int highestPowerof2(int n) {
244 int p = (int)ceil(log2(n));

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected