#include #include #include #include #include #include #include #include #define pb push_back #define all(x) begin(x),end(x) #define ll long long #define P pair #define lP pait using namespace std; int main() { int n; cin>>n; int count{0},res{0}; vector c(n); vector> a(n,vector(n)); string s="nyanpass"; for(int i=0;i>a[i][j]; } } for(int i=0;i