Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #define NODE_MAX 500000
- using namespace std;
- int main(){
- bool graph[NODE_MAX][NODE_MAX];
- int t;
- long int n, i;
- cin >> t;
- cin >> n;
- while (t--){
- for (i = 0; i < n; i++){
- for (j = 0; j < n; j++){
- cin >> graph[i][j];
- graph[i][j] = !(graph[i][j]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement