Borderou de evaluare (job #1673357)

Utilizator ZenusTudor Costin Razvan Zenus Data 3 aprilie 2016 18:10:00
Problema Dist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 6

Raport evaluator

Compilare: user.cpp: In function ‘int cost(std::string, std::string)’: user.cpp:23:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = a.size() ; i < b.size() ; ++i) ^ user.cpp:26:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < a.size() ; ++i) ^ user.cpp: In function ‘int main()’: user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dist.in" , "r" , stdin); ^ user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dist.out" , "w" , stdout); ^ user.cpp:37:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(t); ^ user.cpp:54:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(t); ^ /tmp/cctsFP54.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
164ms440kbNumar mutari gresit6
2Depăşit396kbTime limit exceeded.0
3Depăşit404kbTime limit exceeded.0
4Depăşit400kbTime limit exceeded.0
5Depăşit400kbTime limit exceeded.0
6Depăşit404kbTime limit exceeded.0
7Depăşit396kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit400kbTime limit exceeded.0
1012ms432kbDistanta minima gresit0
Punctaj total6

Ceva nu functioneaza?