Pagini recente » Borderou de evaluare (job #2669103) | Borderou de evaluare (job #2546376) | Borderou de evaluare (job #2508210) | Borderou de evaluare (job #2885480) | Borderou de evaluare (job #1763990)
Borderou de evaluare (job #1763990)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(int)’:
user.cpp:31:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Hash[V%MOD].size();i++)
^
user.cpp:32:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(V==Hash[V%MOD][i].first)
^
user.cpp: In function ‘int Search_In_Hash(int)’:
user.cpp:41:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Hash[V%MOD].size();i++)
^
user.cpp:42:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(V==Hash[V%MOD][i].first)return Hash[V%MOD][i].second;
^
user.cpp: In function ‘int main()’:
user.cpp:58:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[65]’ [-Wformat=]
scanf("%s ",&W);
^
user.cpp:69:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[65]’ [-Wformat=]
scanf("%s ",&W);
^
user.cpp:52:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:53:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:55:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:58:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",&W);
^
user.cpp:65:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&M);
^
user.cpp:69:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",&W);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1740kb | Incorect | 0 |
2 | 8ms | 1512kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 1656kb | OK | 10 |
4 | 20ms | 2260kb | OK | 10 |
5 | 20ms | 2664kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 28ms | 3020kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 40ms | 3348kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 16ms | 2304kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 16ms | 2304kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 20ms | 2316kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |