rotate-image 1.0.0
Rotate Image
Loading...
Searching...
No Matches
main.cpp File Reference
#include <bits/stdc++.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Data Structures

class  Solution
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 53 of file main.cpp.

54{
55 vector<vector<int>> matrix = {{1,2,3}, {4,5,6}, {7,8,9}};
56 Solution sol;
57 // sol.print(matrix);
58 sol.rotate(matrix);
59 sol.print(matrix);
60 return 0;
61}
void print(vector< vector< int > > &matrix)
Definition main.cpp:36
void rotate(vector< vector< int > > &matrix)
Definition main.cpp:46

References Solution::print(), and Solution::rotate().