Borderou de evaluare (job #1506603)

Utilizator TataruTataru Mihai Tataru Data 20 octombrie 2015 20:25:47
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:29: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:32: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:38: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:40: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:21:55: warning: array subscript is above array bounds [-Warray-bounds] for(int i = 1; i <= n; ++i) step[NMAX] = cost[NMAX] = inf; ^ user.cpp:21: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
30ms508kbOK5
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
118msDepăşitMemory limit exceeded.0
128msDepăşitMemory limit exceeded.0
138msDepăşitMemory limit exceeded.0
1420msDepăşitMemory limit exceeded.0
1520msDepăşitMemory limit exceeded.0
1616msDepăşitMemory limit exceeded.0
1716msDepăşitMemory limit exceeded.0
1816msDepăşitMemory limit exceeded.0
1916msDepăşitMemory limit exceeded.0
2020msDepăşitMemory limit exceeded.0
Punctaj total5

Ceva nu functioneaza?