MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / main

Function main

1260-shift-2d-grid.rs:9–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7}
8
9fn main() {
10 let grid = vec![vec![3,8,1,9],vec![19,7,2,5],vec![4,6,11,10],vec![12,0,21,13]];
11 let k = 4;
12 println!("{:?}", shift_grid(grid, k));
13 let grid = vec![vec![1]];
14 let k = 100;
15 println!("{:?}", shift_grid(grid, k));
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected