QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#463851#8169. R-Connected ComponentsZhangYiDeCompile Error//C++23854b2024-07-05 15:06:012024-07-05 15:06:01

Details

answer.code: In function ‘void solve()’:
answer.code:26:21: error: ‘g’ was not declared in this scope
   26 |         else g2=gcd(g,tmpg);
      |                     ^