Borderou de evaluare (job #1802874)

Utilizator BigDymademon demon BigDyma Data 10 noiembrie 2016 18:47:59
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:16:2: error: expected ‘;’ before ‘freopen’ freopen("euclid2.out", "r", stdout) ^ user.c:18:15: error: ‘n’ undeclared (first use in this function) scanf("%d", &n); ^ user.c:18:15: note: each undeclared identifier is reported only once for each function it appears in user.c:15:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid2.in", "w", stdin) ^ user.c:21:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &g_a, &g_b); ^

Ceva nu functioneaza?