Borderou de evaluare (job #1290262)

Utilizator cristi.i.maresCristi Mares cristi.i.mares Data 11 decembrie 2014 00:07:15
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:11:2: error: expected ‘;’ before ‘while’ while(r!=0) ^ user.c:5:10: warning: variable ‘r’ set but not used [-Wunused-but-set-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); ^ user.c:8:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^

Ceva nu functioneaza?