Borderou de evaluare (job #1761050)

Utilizator din99danyMatei Daniel din99dany Data 21 septembrie 2016 18:52:14
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:18: warning: unused variable ‘j’ [-Wunused-variable] int n, m, i, j, x, y, c, flag; ^ user.cpp:26:21: warning: unused variable ‘x’ [-Wunused-variable] int n, m, i, j, x, y, c, flag; ^ user.cpp: In function ‘bool realoca(int)’: user.cpp:67:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < v[ nod ].size(); ++i ){ ^ user.cpp:75:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0; i < v[ nod ].size(); ++i ){ ^ user.cpp:65:9: warning: unused variable ‘n’ [-Wunused-variable] int n, i, j, k; ^ user.cpp:65:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, k; ^ user.cpp:65:18: warning: unused variable ‘k’ [-Wunused-variable] int n, i, j, k; ^ user.cpp: In function ‘int main()’: user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.in","r",stdin); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.out","w",stdout); ^ user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%*c",&n,&m); ^ user.cpp:30:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( s, NMAX * 100, stdin ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbS-a respectat legea!10
20ms264kbS-a respectat legea!10
30ms268kbS-a respectat legea!10
40ms280kbS-a respectat legea!10
50ms296kbS-a respectat legea!10
60ms284kbS-a respectat legea!10
70ms300kbS-a respectat legea!10
80ms296kbS-a respectat legea!10
90ms268kbS-a respectat legea!10
100ms276kbS-a respectat legea!10
Punctaj total100

Ceva nu functioneaza?