Pagini recente » Borderou de evaluare (job #58690) | Borderou de evaluare (job #2169693) | Borderou de evaluare (job #552306) | Borderou de evaluare (job #1831422) | Borderou de evaluare (job #2660777)
Borderou de evaluare (job #2660777)
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 | 35ms | 16121kb | OK | 10 | 10 |
2 | 35ms | 16121kb | OK | 10 | 10 |
3 | 35ms | 16121kb | OK | 10 | 10 |
4 | 107ms | 16515kb | OK | 10 | 30 |
5 | 130ms | 17694kb | OK | 10 |
6 | 151ms | 19136kb | OK | 10 |
7 | 281ms | 19267kb | OK | 10 | 10 |
8 | 523ms | 25952kb | OK | 10 | 30 |
9 | 971ms | 30408kb | OK | 10 |
10 | 959ms | 28311kb | OK | 10 |
Punctaj total | 100 |