Pagini recente » Borderou de evaluare (job #2852850) | Borderou de evaluare (job #1200432) | Borderou de evaluare (job #2380) | Borderou de evaluare (job #579976) | Borderou de evaluare (job #2292791)
Borderou de evaluare (job #2292791)
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 | 51ms | 24117kb | Incorect | 0 | 0 |
2 | 49ms | 24117kb | OK | 10 | 10 |
3 | 51ms | 24117kb | Incorect | 0 | 0 |
4 | 97ms | 24641kb | Incorect | 0 | 0 |
5 | 121ms | 25559kb | Incorect | 0 |
6 | 144ms | 27131kb | Incorect | 0 |
7 | 241ms | 26869kb | Incorect | 0 | 0 |
8 | 426ms | 30015kb | Incorect | 0 | 0 |
9 | 872ms | 32243kb | Incorect | 0 |
10 | 851ms | 31326kb | Incorect | 0 |
Punctaj total | 10 |