Borderou de evaluare (job #1831790)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 18 decembrie 2016 19:12:39
Problema Move Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:18: warning: unused variable ‘j’ [-Wunused-variable] int N, M, i, j, x, y, k, s, id; ^ user.cpp:20:21: warning: unused variable ‘x’ [-Wunused-variable] int N, M, i, j, x, y, k, s, id; ^ user.cpp:20:24: warning: unused variable ‘y’ [-Wunused-variable] int N, M, i, j, x, y, k, s, id; ^ user.cpp:20:30: warning: unused variable ‘s’ [-Wunused-variable] int N, M, i, j, x, y, k, s, id; ^ user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("move.in","r",stdin); ^ user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("move.out","w",stdout); ^ user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d",&N ); ^ user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d",&V[ i ] ); ^ user.cpp:71:21: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] marcare( T[ p ] ); ^ user.cpp:20:33: note: ‘id’ was declared here int N, M, i, j, x, y, k, s, id; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms296kbOK10
30ms344kbOK10
420ms844kbOK10
528ms992kbOK10
660ms1232kbOK10
776ms1448kbOK10
860ms1636kbOK10
960ms1680kbOK10
1076ms1464kbOK10
Punctaj total100

Ceva nu functioneaza?