Borderou de evaluare (job #1645876)

Utilizator preda.andreiPreda Andrei preda.andrei Data 10 martie 2016 14:13:12
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:34: warning: narrowing conversion of ‘n’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] refaDrum((Coordonate){n, n, n}, fout); ^ user.cpp:43:34: warning: narrowing conversion of ‘n’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:43:34: warning: narrowing conversion of ‘n’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp: In function ‘void lee(int)’: user.cpp:74:60: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] cub[cx][cy][cz].last = (Coordonate){x, y, z}; ^ user.cpp:74:60: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:74:60: warning: narrowing conversion of ‘z’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:79:51: warning: narrowing conversion of ‘cx’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] coada.push((Coordonate){cx, cy, cz}); ^ user.cpp:79:51: warning: narrowing conversion of ‘cy’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:79:51: warning: narrowing conversion of ‘cz’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp: In function ‘int main()’: user.cpp:34:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ user.cpp:36:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms404kbKilled by signal 11(SIGSEGV).00
20ms460kbOK!10
30ms476kbOK!1020
40ms508kbOK!10
50ms636kbOK!1020
60ms508kbOK!10
70ms640kbOK!1010
80msDepăşitMemory limit exceeded.00
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?