Borderou de evaluare (job #1002924)

Utilizator NaniteNanite Nanite Data 29 septembrie 2013 11:22:46
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool equals(std::string, std::string)’: user.cpp:12:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.length(); i++) { ^ user.cpp: In function ‘bool contains(std::string, std::string)’: user.cpp:25:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < in.length() - str.length(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:94:45: warning: ‘length’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(index == -1 || k > length) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms400kbWrong asnwer0
24ms396kbWrong asnwer0
34ms396kbWrong asnwer0
44ms404kbWrong asnwer0
54ms400kbWrong asnwer0
6280ms448kbWrong asnwer0
7Depăşit700kbTime limit exceeded.0
8Depăşit720kbTime limit exceeded.0
9Depăşit860kbTime limit exceeded.0
10Depăşit828kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?