Pagini recente » Borderou de evaluare (job #1796267) | Borderou de evaluare (job #1636521) | Borderou de evaluare (job #1268449) | Borderou de evaluare (job #606850) | Borderou de evaluare (job #1763831)
Borderou de evaluare (job #1763831)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(int, unsigned int)’:
user.cpp:30:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[v1].size();i++)
^
user.cpp:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v2==h[v1][i].first)
^
user.cpp: In function ‘int Search_In_Hash(int, unsigned int)’:
user.cpp:40:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[v1].size();i++)
^
user.cpp:41:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v2==h[v1][i].first)
^
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:58:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:63:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",W);
^
user.cpp:71:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&M);
^
user.cpp:75:17: 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 | 16ms | 2564kb | OK | 10 |
2 | 16ms | 2572kb | Incorect | 0 |
3 | 8ms | 2592kb | OK | 10 |
4 | 32ms | 2888kb | OK | 10 |
5 | 180ms | 14188kb | Incorect | 0 |
6 | 284ms | 19016kb | Incorect | 0 |
7 | 392ms | 23688kb | Incorect | 0 |
8 | 68ms | 4400kb | OK | 10 |
9 | 72ms | 4404kb | Incorect | 0 |
10 | 48ms | 2944kb | Incorect | 0 |
Punctaj total | 40 |