Pagini recente » Borderou de evaluare (job #149538) | Borderou de evaluare (job #2401102) | Borderou de evaluare (job #2681553) | Borderou de evaluare (job #517705) | Borderou de evaluare (job #2292789)
Borderou de evaluare (job #2292789)
Raport evaluator
Compilare:
main.cpp: In function 'void adauga_in_hash(int)':
main.cpp:14:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i = 0; i < hash_table[corespondenta].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:14:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(long long i = 0; i < hash_table[corespondenta].size(); i++)
^~~
main.cpp:28:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if( ok == 0)
^~
main.cpp: In function 'void sterge_din_hash(int)':
main.cpp:35:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( long long i = 0; i < hash_table[corespondenta].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:34:9: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
int ok = 0;
^~
main.cpp: In function 'int gaseste_element(int)':
main.cpp:48:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i< hash_table[corespondenta].size() && ok == 0; i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 47ms | 24117kb | Incorect | 0 | 0 |
2 | 49ms | 24117kb | OK | 10 | 10 |
3 | 49ms | 24117kb | Incorect | 0 | 0 |
4 | 104ms | 24510kb | Incorect | 0 | 0 |
5 | 127ms | 25559kb | Incorect | 0 |
6 | 147ms | 27131kb | Incorect | 0 |
7 | 259ms | 26869kb | Incorect | 0 | 0 |
8 | 434ms | 30015kb | Incorect | 0 | 0 |
9 | 764ms | 32243kb | Incorect | 0 |
10 | 736ms | 31457kb | Incorect | 0 |
Punctaj total | 10 |