Pagini recente » Borderou de evaluare (job #926565) | Borderou de evaluare (job #929031) | Borderou de evaluare (job #2075552) | Borderou de evaluare (job #927809) | Borderou de evaluare (job #1640243)
Borderou de evaluare (job #1640243)
Raport evaluator
Compilare:
user.cpp: In member function ‘void nrx_hash::insert_hash(int)’:
user.cpp:24:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < my_hash[position].size(); i ++ ) {
^
user.cpp: In member function ‘void nrx_hash::erase_hash(int)’:
user.cpp:37:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < my_hash[position].size(); i ++ ) {
^
user.cpp: In member function ‘int nrx_hash::count_hash(int)’:
user.cpp:47:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < my_hash[position].size(); i ++ ) {
^
user.cpp: In function ‘int main()’:
user.cpp:75:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "arbore3.in" , "r", stdin );
^
user.cpp:76:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "arbore3.out", "w", stdout );
^
user.cpp:78:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d %d", &N, &S );
^
user.cpp:80:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d %d", &node, &Cost[i] );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 28ms | 20364kb | OK | 10 |
| 2 | 28ms | 20396kb | OK | 10 |
| 3 | 64ms | 21156kb | OK | 10 |
| 4 | 344ms | 26496kb | OK | 10 |
| 5 | 616ms | 32424kb | OK | 10 |
| 6 | 876ms | 37176kb | OK | 10 |
| 7 | 1040ms | 40036kb | OK | 10 |
| 8 | 1116ms | 41236kb | OK | 10 |
| 9 | 1228ms | 42220kb | OK | 10 |
| 10 | 1212ms | 43364kb | OK | 10 |
| Punctaj total | 100 |