Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98502 程余天皓 最大公约数(函数) C++ Compile Error 0 MS 0 KB 154 2024-11-23 11:02:45

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; int ans=_gcd(n,m); cout<<ans; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:22: error: '_gcd' was not declared in this scope
      int ans=_gcd(n,m);
                      ^