Pagini recente » Borderou de evaluare (job #1914555) | Borderou de evaluare (job #938920) | Borderou de evaluare (job #3150060) | Borderou de evaluare (job #340625) | Borderou de evaluare (job #2660778)
Borderou de evaluare (job #2660778)
Raport evaluator
Compilare:
main.cpp: In function 'bool mysearch(int)':
main.cpp:14:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < myhash[h].size() && myhash[h][i] != x) i ++;
~~^~~~~~~~~~~~~~~~~~
main.cpp:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return (i < myhash[h].size());
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void extract(int)':
main.cpp:28:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < myhash[h].size() && myhash[h][i] != x) i++;
~~^~~~~~~~~~~~~~~~~~
main.cpp:29:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < myhash[h].size()){
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:40:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
main.cpp:43:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &op, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 29ms | 16121kb | OK | 10 | 10 |
2 | 33ms | 16121kb | OK | 10 | 10 |
3 | 41ms | 16121kb | OK | 10 | 10 |
4 | 88ms | 16515kb | OK | 10 | 30 |
5 | 117ms | 17694kb | OK | 10 |
6 | 122ms | 19136kb | OK | 10 |
7 | 292ms | 19398kb | OK | 10 | 10 |
8 | 598ms | 25976kb | OK | 10 | 30 |
9 | 1138ms | 30277kb | OK | 10 |
10 | 1102ms | 28422kb | OK | 10 |
Punctaj total | 100 |