Borderou de evaluare (job #1673358)

Utilizator ZenusTudor Costin Razvan Zenus Data 3 aprilie 2016 18:11:20
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/cceLFqri.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
10ms444kbNumar mutari gresit6
2Depăşit404kbTime limit exceeded.0
3200ms524kbDistanta minima gresit0
4Depăşit408kbTime limit exceeded.0
5Depăşit412kbTime limit exceeded.0
6Depăşit400kbTime limit exceeded.0
7Depăşit400kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit396kbTime limit exceeded.0
100ms444kbDistanta minima gresit0
Punctaj total6

Ceva nu functioneaza?