Cod sursa(job #2602698)

Utilizator segtreapMihnea Andreescu segtreap Data 17 aprilie 2020 17:15:43
Problema Algoritmul lui Euclid Scor 0
Compilator cpp-64 Status done
Runda Arhiva educationala Marime 0.32 kb
#include <bits/stdc++.h>
using namespace std;

int gcd(int a, int b) {
        if (b == 0) {
                return a;
        } else {
                return gcd(b, a % b);
        }
}

int main() {
        freopen ("euclid2.in", "r", stdin);
        freopen ("euclid2.out", "w", stdout);

        abort();
}