Pagini recente » Borderou de evaluare (job #2105751) | Borderou de evaluare (job #2277923) | Borderou de evaluare (job #1523944) | Borderou de evaluare (job #2957577) | Borderou de evaluare (job #2285701)
Borderou de evaluare (job #2285701)
Raport evaluator
Compilare:
main.cpp: In function 'bool isincluded(std::__cxx11::string, std::__cxx11::string)':
main.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < needle.size(); i ++) {
~~^~~~~~~~~~~~~~~
main.cpp:25:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < haystack.size(); i ++) {
~~^~~~~~~~~~~~~~~~~
main.cpp:30:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == needle.size() - 1)
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int computekmp(std::__cxx11::string, std::__cxx11::string)':
main.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < s.size(); i ++) {
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = toskip; j < words[ans[i]].size(); j ++)
~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:126:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
mask ^= (1 << cnode);
~~~^~~~~~~~~
main.cpp:109:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
rdp[1 << start][start] = 0;
~~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 3ms | 131kb | OK! | 10 |
3 | 3ms | 131kb | OK! | 10 |
4 | 3ms | 131kb | OK! | 10 |
5 | 21ms | 524kb | OK! | 10 |
6 | 17ms | 393kb | OK! | 10 |
7 | 198ms | 2199kb | OK! | 10 |
8 | 1261ms | 14381kb | OK! | 10 |
9 | 225ms | 2404kb | OK! | 10 |
10 | 1350ms | 14503kb | Time limit exceeded | 0 |
Punctaj total | 90 |