Borderou de evaluare (job #1393833)

Utilizator gallexdAlex Gabor gallexd Data 19 martie 2015 19:49:15
Problema Mxl Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int reference(int, int)’: user.cpp:21:9: warning: unused variable ‘i’ [-Wunused-variable] int i = 0; ^ user.cpp: In function ‘int main()’: user.cpp:62:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mxl.in", "rt", stdin); ^ user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mxl.out", "wt", stdout); ^ user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp:69:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %s", &x, &y, formula); ^ user.cpp: In function ‘void eval(char*, int, int)’: user.cpp:50:19: warning: ‘current’ may be used uninitialized in this function [-Wmaybe-uninitialized] sum += current; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms264kbOK10
30ms264kbOK10
4Depăşit224kbTime limit exceeded.0
5Depăşit224kbTime limit exceeded.0
6Depăşit232kbTime limit exceeded.0
70ms280kbOK10
80ms280kbOK10
9Depăşit248kbTime limit exceeded.0
100ms312kbOK10
Punctaj total60

Ceva nu functioneaza?