Pagini recente » Borderou de evaluare (job #1016919) | Borderou de evaluare (job #1165873) | Cod sursa (job #2793167) | Borderou de evaluare (job #2286463) | Borderou de evaluare (job #2292663)
Borderou de evaluare (job #2292663)
Raport evaluator
Compilare:
main.cpp: In function 'void adauga_in_hash(int)':
main.cpp:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < hash_table[corespondenta].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:14:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < hash_table[corespondenta].size(); i++)
^~~
main.cpp:19: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:26:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < hash_table[corespondenta].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:25: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:39: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 | 44ms | 24117kb | Incorect | 0 | 0 |
| 2 | 49ms | 24117kb | OK | 10 | 10 |
| 3 | 51ms | 24117kb | Incorect | 0 | 0 |
| 4 | 87ms | 24510kb | Incorect | 0 | 0 |
| 5 | 128ms | 25559kb | Incorect | 0 |
| 6 | 128ms | 27131kb | Incorect | 0 |
| 7 | 261ms | 26869kb | Incorect | 0 | 0 |
| 8 | 437ms | 30015kb | Incorect | 0 | 0 |
| 9 | 777ms | 32374kb | Incorect | 0 |
| 10 | 715ms | 31326kb | Incorect | 0 |
| Punctaj total | 10 |