Pagini recente » Borderou de evaluare (job #1225311) | Borderou de evaluare (job #3154557) | Borderou de evaluare (job #772220) | Borderou de evaluare (job #2476398) | Borderou de evaluare (job #2667255)
Borderou de evaluare (job #2667255)
Raport evaluator
Compilare:
main.cpp: In function 'void adauga_in_hash(int)':
main.cpp:14:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<hsh[rest].size();i++)if(hsh[rest][i]==val)return;
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void sterge(int)':
main.cpp:21:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<hsh[rest].size();i++) if(hsh[rest][i]==val) {hsh[rest].erase(hsh[rest].begin()+i);return;}
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int verifica(int)':
main.cpp:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<hsh[rest].size();i++) if(hsh[rest][i]==val)return 1;
~^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 51ms | 24117kb | OK | 10 | 10 |
2 | 51ms | 24117kb | OK | 10 | 10 |
3 | 52ms | 24117kb | OK | 10 | 10 |
4 | 111ms | 24510kb | OK | 10 | 30 |
5 | 132ms | 25821kb | OK | 10 |
6 | 144ms | 27131kb | OK | 10 |
7 | 254ms | 27394kb | OK | 10 | 10 |
8 | 487ms | 34865kb | OK | 10 | 30 |
9 | 879ms | 40427kb | OK | 10 |
10 | 951ms | 37748kb | OK | 10 |
Punctaj total | 100 |