Pagini recente » Borderou de evaluare (job #1311947) | Borderou de evaluare (job #1144504) | Borderou de evaluare (job #1953768) | Borderou de evaluare (job #1024661) | Borderou de evaluare (job #2588964)
Borderou de evaluare (job #2588964)
Raport evaluator
Compilare:
main.cpp: In function 'int hashf(std::__cxx11::string)':
main.cpp:28:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < str.length(); i++)
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:96:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = lmax; i < text.length(); i++)
~~^~~~~~~~~~~~~~~
main.cpp:94:9: warning: unused variable 'st' [-Wunused-variable]
int st = lmax;
^~
main.cpp:90:23: warning: 'lmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
str1 = text.substr(0, lmax);
~~~~~~~~~~~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 5ms | 524kb | OK | 10 |
5 | 28ms | 3272kb | OK | 10 |
6 | 86ms | 4321kb | OK | 10 |
7 | 463ms | 11005kb | Incorect | 0 |
8 | 807ms | 17035kb | OK | 10 |
9 | 689ms | 17035kb | Incorect | 0 |
10 | 571ms | 17035kb | Incorect | 0 |
Punctaj total | 0 |