3 solutions

  • -1
    @ 2025-9-7 16:36:50

    #include <bits/stdc++.h> using namespace std; #define int long long int ans, n,m;

    signed main() { cin >> n>>m; cout<<__gcd(n,m); return 0; }

    • -1
      @ 2025-9-7 16:36:46

      #include <bits/stdc++.h> using namespace std; #define int long long int ans, n,m;

      signed main() { cin >> n>>m; cout<<__gcd(n,m); return 0; }

      • -1
        @ 2025-9-7 16:36:31

        #include <bits/stdc++.h> using namespace std; #define int long long int ans, n,m;

        signed main() { cin >> n>>m; cout<<__gcd(n,m); return 0; }

        • 1

        Information

        ID
        239
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        4
        Tags
        # Submissions
        93
        Accepted
        40
        Uploaded By