Pagini recente » Borderou de evaluare (job #2747790) | Borderou de evaluare (job #1284092) | Borderou de evaluare (job #789928) | Borderou de evaluare (job #1009070) | Borderou de evaluare (job #1764008)
Borderou de evaluare (job #1764008)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(unsigned 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: In function ‘int Search_In_Hash(unsigned 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: In function ‘int main()’:
user.cpp:59:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[65]’ [-Wformat=]
scanf("%s ",&W);
^
user.cpp:70:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[65]’ [-Wformat=]
scanf("%s ",&W);
^
user.cpp:53: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:54: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:56:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:59:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",&W);
^
user.cpp:66:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&M);
^
user.cpp:70: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 | 12ms | 1728kb | OK | 10 |
2 | 12ms | 1536kb | OK | 10 |
3 | 4ms | 1652kb | OK | 10 |
4 | 24ms | 2264kb | OK | 10 |
5 | 164ms | 13688kb | OK | 10 |
6 | 260ms | 18760kb | OK | 10 |
7 | 360ms | 23552kb | OK | 10 |
8 | 60ms | 4160kb | OK | 10 |
9 | 64ms | 4164kb | Incorect | 0 |
10 | 40ms | 2648kb | OK | 10 |
Punctaj total | 90 |