Pagini recente » Cod sursa (job #3150086) | Cod sursa (job #2496662) | Cod sursa (job #2539492) | Cod sursa (job #906488) | Borderou de evaluare (job #1762652)
Borderou de evaluare (job #1762652)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(int, unsigned int)’:
user.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[l].size();i++)
^
user.cpp: In function ‘bool Search(int, int)’:
user.cpp:37:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[l].size();i++)
^
user.cpp:38:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(val==h[l][i])return true;
^
user.cpp: In function ‘int main()’:
user.cpp:50:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=]
scanf("%s ",&Ch);
^
user.cpp:60:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=]
scanf("%s ",&Ch);
^
user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.in","r",stdin);
^
user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.out","w",stdout);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",&Ch);
^
user.cpp:54:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&M);
^
user.cpp:60:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",&Ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 152ms | 352kb | OK | 10 |
5 | Depăşit | 460kb | Time limit exceeded. | 0 |
6 | Depăşit | 456kb | Time limit exceeded. | 0 |
7 | Depăşit | 456kb | Time limit exceeded. | 0 |
8 | Depăşit | 456kb | Time limit exceeded. | 0 |
9 | Depăşit | 456kb | Time limit exceeded. | 0 |
10 | Depăşit | 456kb | Time limit exceeded. | 0 |
Punctaj total | 40 |