Borderou de evaluare (job #1614720)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_hash(int, int)’:
user.cpp:24:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Hash[(value * 1LL * abs( rate )) % MOD].size(); i ++ ) {
^
user.cpp: In function ‘void add_hash(int, int, int)’:
user.cpp:34:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Hash[loc].size(); i ++ ) {
^
user.cpp: In function ‘int main()’:
user.cpp:47:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "progr2.in" , "r", stdin );
^
user.cpp:48:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "progr2.out", "w", stdout );
^
user.cpp:50:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &T );
^
user.cpp:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &N );
^
user.cpp:55:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &V[i] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1292ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |