Borderou de evaluare (job #1533597)

Utilizator OFY4Ahmed Hamza Aydin OFY4 Data 22 noiembrie 2015 19:25:14
Problema Galagie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:28:10: error: ‘e’ was not declared in this scope }e ^ user.cpp:29:9: error: expected ‘;’ before ‘for’ for(int j=1;j<i;++j){ ^ user.cpp:29:21: error: ‘j’ was not declared in this scope for(int j=1;j<i;++j){ ^ user.cpp:29:28: error: expected ‘;’ before ‘)’ token for(int j=1;j<i;++j){ ^ user.cpp:37:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] printf("%lld", &suma); ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("galacie.in", "r", stdin); ^ user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("galagcie.out", "w", stdout); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^

Ceva nu functioneaza?