Borderou de evaluare (job #1531853)

Utilizator DuxarFII-Stefan-Negrus Duxar Data 21 noiembrie 2015 14:36:03
Problema Psychtraining Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void elimina_muchie(int, int)’: user.cpp:76:6: warning: unused variable ‘i’ [-Wunused-variable] int i = 0; ^ user.cpp: In function ‘int main()’: user.cpp:156:7: warning: unused variable ‘pmax’ [-Wunused-variable] int pmax = 0; ^ user.cpp:178:32: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<std::basic_string<char> >::size_type {aka unsigned int}’ [-Wformat=] printf("%lu\n", results.size()); ^ user.cpp:179:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < results.size(); ++i) { ^ user.cpp:134:50: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen((fileInput + ".in").c_str(), "r", stdin); ^ user.cpp:135:52: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen((fileInput + ".out").c_str(), "w", stdout); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbBravo . 1 meci folosit.10
20ms428kbBravo. 7 meciuri folosite.10
30ms428kbNumarul de meciuri este prea mare.0
4Depăşit376kbTime limit exceeded.0
50ms480kbNumarul de meciuri este prea mare.0
6Depăşit1476kbTime limit exceeded.0
780ms1312kbNumarul de meciuri este prea mare.0
848ms1384kbIncorect.0
948ms1508kbIncorect.0
1048ms1472kbIncorect.0
Punctaj total20

Ceva nu functioneaza?