Borderou de evaluare (job #2173992)

Utilizator teodor345RosioruTeodor teodor345 Data 16 martie 2018 10:12:28
Problema Invers modular Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:7:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token void gcd(ll &x, ll &y, int a, int b) ^ user.c: In function ‘main’: user.c:28:5: warning: implicit declaration of function ‘gcd’ [-Wimplicit-function-declaration] gcd(inv, ins, A, N); ^ user.c:24:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("inversmodular.in", "r", stdin); ^ user.c:25:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("inversmodular.out", "w", stdout); ^ user.c:27:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &A, &N); ^

Ceva nu functioneaza?