Pagini recente » Borderou de evaluare (job #1652359) | Borderou de evaluare (job #1656281)
Borderou de evaluare (job #1656281)
Raport evaluator
Compilare:
user.cpp: In member function ‘output_writer& output_writer::operator<<(char*)’:
user.cpp:94:32: warning: NULL used in arithmetic [-Wpointer-arith]
while( *str_pos != NULL ) {
^
user.cpp:98:9: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In member function ‘void nrx_hash::insert_hash(long long int)’:
user.cpp:119:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < my_hash[pos].size(); i ++ ) {
^
user.cpp: In member function ‘void nrx_hash::erase_hash(long long int)’:
user.cpp:135:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < my_hash[pos].size(); i ++ ) {
^
user.cpp: In member function ‘int nrx_hash::count_hash(long long int)’:
user.cpp:154:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < my_hash[pos].size(); i ++ ) {
^
user.cpp: In function ‘int main()’:
user.cpp:208:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
output_file << value << "\n";
^
user.cpp: In constructor ‘input_reader::input_reader(const char*, const char*)’:
user.cpp:27:49: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, SIZE, 1, input_file );
^
user.cpp: In member function ‘void input_reader::advance()’:
user.cpp:16:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, SIZE, 1, input_file );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 108ms | 1812kb | OK | 100 |
Punctaj total | 100 |