QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#306539#8017. 计算olriutreCompile Error//C++142.9kb2024-01-16 21:03:522024-01-16 21:03:54

Details

answer.code: In function ‘i64 F(int, int, int)’:
answer.code:106:26: error: ‘gcd’ is not a member of ‘std’
  106 |     return power(x, std::gcd(a, b));
      |                          ^~~
answer.code: In function ‘void solve()’:
answer.code:124:22: error: ‘gcd’ is not a member of ‘std’
  124 |         int g = std::gcd(m, i);
      |                      ^~~