0_0_38209193_27750.cpp: In function 'void init()': 0_0_38209193_27750.cpp:89:36: error: 'gcd' was not declared in this scope int t = gcd(g[i - 1][j].first, x); ^