Pagini recente » Borderou de evaluare (job #935832) | Borderou de evaluare (job #2544999) | Borderou de evaluare (job #1900047) | Borderou de evaluare (job #2828330) | Borderou de evaluare (job #1764005)
Borderou de evaluare (job #1764005)
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 | 8ms | 936kb | OK | 10 |
2 | 8ms | 752kb | OK | 10 |
3 | 4ms | 868kb | OK | 10 |
4 | 20ms | 1468kb | OK | 10 |
5 | 156ms | 11760kb | OK | 10 |
6 | 256ms | 16464kb | OK | 10 |
7 | 360ms | 21064kb | OK | 10 |
8 | 56ms | 3380kb | OK | 10 |
9 | 56ms | 3356kb | Incorect | 0 |
10 | 36ms | 1848kb | OK | 10 |
Punctaj total | 90 |