Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ set_value
Method
set_value
code/other/algorithm_x.cpp:17–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
rep(i,0,rows)
16
arr[i] = new bool[cols], memset(arr[i], 0, cols); }
17
void set_value(int row, int col, bool val = true) {
18
arr[row][col] = val; }
19
void setup() {
20
node ***ptr = new node**[rows + 1];
21
rep(i,0,rows+1) {
Callers
1
test
Function · 0.80
Calls
no outgoing calls
Tested by
1
test
Function · 0.64