Borderou de evaluare (job #2318677)

Utilizator fmi_matei_danielMatei George Daniel fmi_matei_daniel Data 13 ianuarie 2019 14:58:05
Problema Snake Status done
Runda Fmi No Stress 8 Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen( "snake.in", "r", stdin ); ^ main.cpp:13:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen( "snake.out", "w", stdout ); ^ main.cpp:17:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d%d", &n, &m, &l ); ^ main.cpp:20:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &V[ i ][ j ] ); ^ main.cpp:32:18: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] x_aa = x_a[ i ] + x; ~~~~~^~~~~~~~~~~~~~ main.cpp:41:40: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( V[ x ][ y ] + 2 == V[ x_aaa ][ y_aaa ] ) { ~~~~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit!0
22ms131kbRaspuns gresit!0
34ms131kbRaspuns gresit!0
44ms131kbRaspuns gresit!0
58ms131kbRaspuns gresit!0
68ms131kbRaspuns gresit!0
77ms131kbRaspuns gresit!0
87ms131kbRaspuns gresit!0
98ms131kbOK!10
108ms131kbOK!10
Punctaj total20

Ceva nu functioneaza?