Borderou de evaluare (job #1506604)

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

Raport evaluator

Compilare: user.cpp: In function ‘void init()’: user.cpp:17:48: warning: overflow in implicit constant conversion [-Woverflow] for(int j = 1; j <= n; ++j) a[i][j][1] = inf; ^ 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
30ms508kbIncorect0
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
1512msDepăşitMemory limit exceeded.0
168msDepăşitMemory limit exceeded.0
1712msDepăşitMemory limit exceeded.0
188msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
2012msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?