Borderou de evaluare (job #1592111)

Utilizator Vlad_317Vlad Panait Vlad_317 Data 7 februarie 2016 00:43:04
Problema Politic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:36: warning: operation on ‘nr’ may be undefined [-Wsequence-point] a[++nr] = a[nr - 1] + l; ^ user.cpp:36:28: warning: operation on ‘nr’ may be undefined [-Wsequence-point] a[++nr] = a[nr - 1] + l; ^ user.cpp:16:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:20:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &last); ^ user.cpp:25:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbRaspuns corect10
20ms256kbRaspuns corect10
30ms260kbRaspuns corect10
40ms260kbRaspuns corect10
5Depăşit284kbTime limit exceeded.0
6Depăşit292kbTime limit exceeded.0
7Depăşit308kbTime limit exceeded.0
8Depăşit296kbTime limit exceeded.0
9Depăşit312kbTime limit exceeded.0
10Depăşit248kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?