Borderou de evaluare (job #1290254)

Utilizator cristi.i.maresCristi Mares cristi.i.mares Data 11 decembrie 2014 00:02:00
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:14: error: invalid operands to binary & (have ‘char *’ and ‘int’) scanf("%d%d"&a,&b); ^ user.c:5:10: warning: unused variable ‘r’ [-Wunused-variable] int a,b,r; ^ user.c:6:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc.in","r",stdin); ^ user.c:7:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc.out","w",stdout); ^

Ceva nu functioneaza?