Pagini recente » Borderou de evaluare (job #334516) | Borderou de evaluare (job #2506811) | Borderou de evaluare (job #123436) | Borderou de evaluare (job #162578) | Borderou de evaluare (job #2221388)
Borderou de evaluare (job #2221388)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Hash::search(int, int&)’:
user.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < lists[indice].size(); ++i)
~~^~~~~~~~~~~~~~~~~~~~~~
user.cpp: In member function ‘bool Hash::search(int)’:
user.cpp:27:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < lists[indice].size(); ++i)
~~^~~~~~~~~~~~~~~~~~~~~~
user.cpp: In member function ‘void Hash::remove(int)’:
user.cpp:46:13: warning: unused variable ‘indice’ [-Wunused-variable]
int indice, listIndice = 0;
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:57:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in", "r", stdin);
^
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out", "w", stdout);
^
user.cpp:61:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:65:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:66:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2932kb | OK | 10 | 10 |
2 | 4ms | 2936kb | OK | 10 | 10 |
3 | 4ms | 2932kb | OK | 10 | 10 |
4 | 64ms | 3088kb | OK | 10 | 30 |
5 | 80ms | 3580kb | OK | 10 |
6 | 108ms | 4344kb | OK | 10 |
7 | 248ms | 4072kb | OK | 10 | 10 |
8 | 456ms | 6180kb | OK | 10 | 30 |
9 | 956ms | 7904kb | OK | 10 |
10 | 976ms | 6832kb | OK | 10 |
Punctaj total | 100 |