Borderou de evaluare (job #1762648)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 23 septembrie 2016 22:38:02
Problema Criptare2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void Add_To_Hash(int, unsigned int)’: user.cpp:34: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:40:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<h[l].size();i++) ^ user.cpp:41:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(val==h[l][i])return true; ^ user.cpp: In function ‘unsigned int Read_Word(int&)’: user.cpp:22:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&Ch); ^ user.cpp: In function ‘int main()’: user.cpp:46: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:47: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:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&N); ^ user.cpp:55:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&M); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms240kbOK10
30ms240kbOK10
4188ms348kbOK10
5Depăşit448kbTime limit exceeded.0
6Depăşit448kbTime limit exceeded.0
7Depăşit448kbTime limit exceeded.0
8Depăşit444kbTime limit exceeded.0
9Depăşit448kbTime limit exceeded.0
10Depăşit448kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?