Borderou de evaluare (job #1311457)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 8 ianuarie 2015 10:57:11
Problema Sir5 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:67:9: error: stray ‘`’ in program `MU(a[1]-1); ^ user.cpp: In function ‘int main()’: user.cpp:33:9: error: ‘ok’ was not declared in this scope ok=1; ^ user.cpp:46:22: error: ‘S’ was not declared in this scope for(i=1;i<=m;i++)S+=a[i]; ^ user.cpp:47:8: error: ‘S’ was not declared in this scope if(S<L) ^ user.cpp:52:8: error: ‘S’ was not declared in this scope if(S==L) ^ user.cpp:58:9: error: ‘x’ was not declared in this scope x[i]=1; ^ user.cpp:60:5: error: ‘x’ was not declared in this scope x[L]++; ^ user.cpp:63:18: error: ‘MU’ was not declared in this scope MU(a[1]-L); ^ user.cpp:67:19: error: ‘MU’ was not declared in this scope `MU(a[1]-1); ^ user.cpp:68:21: error: ‘MZ’ was not declared in this scope MZ(a[2]-L+1); ^ user.cpp:69:21: error: expected ‘;’ before ‘)’ token for(i=4;i<m) ^ user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gcd.in","r",stdin); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gcd.out","w",stdout); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&m,&L); ^ user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^

Ceva nu functioneaza?