count-servers-that-communicate 1.0.0
Count Servers that Communicate
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 36 of file main.cpp.

37{
38 vector<vector<int>> grid = {{1,1,0,0}, {0,0,1,0}, {0,0,1,0}, {0,0,0,1}};
39 cout << Solution().countServers(grid) << '\n';
40 return 0;
41}
int countServers(vector< vector< int > > &grid)
Definition main.cpp:8

References Solution::countServers().