Pagini recente » Borderou de evaluare (job #335329) | Borderou de evaluare (job #2812855) | Borderou de evaluare (job #433099) | Borderou de evaluare (job #149013) | Borderou de evaluare (job #2657367)
Borderou de evaluare (job #2657367)
Raport evaluator
Compilare:
main.cpp: In function 'void add_hash(int)':
main.cpp:13:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i < v[code].size() && x != v[code][i] )
~~^~~~~~~~~~~~~~~~
main.cpp:15:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( i == v[code].size() )
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'bool search_hash(int)':
main.cpp:21:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i < v[code].size() && x != v[code][i] )
~~^~~~~~~~~~~~~~~~
main.cpp:23:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return i < v[code].size();
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void erase_hash(int)':
main.cpp:28:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i < v[code].size() && x != v[code][i] )
~~^~~~~~~~~~~~~~~~
main.cpp:30:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( i < v[code].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:42:35: 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 | 102ms | 16515kb | OK | 10 | 30 |
5 | 134ms | 17694kb | OK | 10 |
6 | 158ms | 19136kb | OK | 10 |
7 | 294ms | 19267kb | OK | 10 | 10 |
8 | 515ms | 25952kb | OK | 10 | 30 |
9 | 963ms | 30277kb | OK | 10 |
10 | 997ms | 28442kb | OK | 10 |
Punctaj total | 100 |