#include using namespace std; int main(){ int h =2, w = 2; vector> a(h, vector(w)); for(int i=0; i> a[i][j]; } } long long gcd = 0; for(int i=0; i