Borderou de evaluare (job #1838957)

Utilizator kriptexPopa Serban kriptex Data 2 ianuarie 2017 01:09:21
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:226:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system("pause"); ^ user.cpp: In function ‘void creare_tabel()’: user.cpp:20:12: warning: array subscript is above array bounds [-Warray-bounds] tabel[1][3].comp[1] = '3'; ^ user.cpp:21:12: warning: array subscript is above array bounds [-Warray-bounds] tabel[1][3].comp[2] = '\0'; ^ user.cpp:33:12: warning: array subscript is above array bounds [-Warray-bounds] tabel[2][3].comp[1] = '\0'; ^ user.cpp:34:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][1].comp[1] = '2'; ^ user.cpp:35:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][1].comp[2] = '\0'; ^ user.cpp:36:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][2].comp[0] = '3'; ^ user.cpp:37:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][2].comp[1] = '3'; ^ user.cpp:38:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][2].comp[2] = 'B'; ^ user.cpp:39:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][2].comp[3] = 'C'; ^ user.cpp:40:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][2].comp[4] = '\0'; ^ user.cpp:41:12: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][3].comp[0] = '3'; ^ user.cpp:41:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][3].comp[0] = '3'; ^ user.cpp:42:12: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][3].comp[1] = '1'; ^ user.cpp:42:9: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][3].comp[1] = '1'; ^ user.cpp:43:12: warning: array subscript is above array bounds [-Warray-bounds] tabel[3][3].comp[2] = '2'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbBlocked system call: clone.0
20ms460kbBlocked system call: clone.0
30ms468kbBlocked system call: clone.0
40ms472kbBlocked system call: clone.0
50ms464kbBlocked system call: clone.0
60ms464kbBlocked system call: clone.0
70ms468kbBlocked system call: clone.0
80ms476kbBlocked system call: clone.0
90ms472kbBlocked system call: clone.0
100ms472kbBlocked system call: clone.0
Punctaj total0

Ceva nu functioneaza?