Borderou de evaluare (job #1506606)

Utilizator TataruTataru Mihai Tataru Data 20 octombrie 2015 20:28:57
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &h2o); ^ user.cpp:33:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &pos, &q); ^ user.cpp:39:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ezz); ^ user.cpp:41:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &pos, &q); ^ user.cpp: In function ‘void init()’: user.cpp:22:55: warning: array subscript is above array bounds [-Warray-bounds] for(int i = 1; i <= n; ++i) step[NMAX] = cost[NMAX] = inf; ^ user.cpp:22:42: warning: array subscript is above array bounds [-Warray-bounds] for(int i = 1; i <= n; ++i) step[NMAX] = cost[NMAX] = inf; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10msDepăşitMemory limit exceeded.0
20ms488kbIncorect0
30ms504kbOK5
40msDepăşitMemory limit exceeded.0
50msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
114msDepăşitMemory limit exceeded.0
124msDepăşitMemory limit exceeded.0
134msDepăşitMemory limit exceeded.0
1412msDepăşitMemory limit exceeded.0
158msDepăşitMemory limit exceeded.0
1612msDepăşitMemory limit exceeded.0
1712msDepăşitMemory limit exceeded.0
188msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
208msDepăşitMemory limit exceeded.0
Punctaj total5

Ceva nu functioneaza?