Borderou de evaluare (job #1670176)

Utilizator ZenusTudor Costin Razvan Zenus Data 31 martie 2016 15:19:49
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void runPairs()’: user.cpp:23:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0 ; j < g[i].size() ; ++j) ^ user.cpp:28:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0 ; j < now.size() / 2 ; ++j) ^ user.cpp: In function ‘void eliminate(int, int)’: user.cpp:40:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[x].size() ; ++i) ^ user.cpp: In function ‘void run(int)’: user.cpp:53:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < g[x].size() ; ++i) ^ user.cpp: In function ‘int main()’: user.cpp:102:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ulei.in" , "r" , stdin); ^ user.cpp:103:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ulei.out" , "w" , stdout); ^ user.cpp:105:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d" , &T) ; T ; --T) ^ user.cpp:107:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:108:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &m); ^ user.cpp:113:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &x); ^ user.cpp:114:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &y); ^ user.cpp:115:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1620kbOk!10
236ms1944kbRaspuns Gresit!0
392ms2436kbRaspuns Gresit!0
4Depăşit17416kbTime limit exceeded.0
5Depăşit17152kbTime limit exceeded.0
6Depăşit16888kbTime limit exceeded.0
7Depăşit17476kbTime limit exceeded.0
8Depăşit17340kbTime limit exceeded.0
9Depăşit17084kbTime limit exceeded.0
10Depăşit17556kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?