Borderou de evaluare (job #1818916)

Utilizator silkMarin Dragos silk Data 29 noiembrie 2016 22:37:15
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Add(unsigned int)’: user.cpp:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < h[r].size(); ++i) ^ user.cpp:19:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( h[r][i] == x ) ^ user.cpp: In function ‘void Erase(unsigned int)’: user.cpp:33:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < h[r].size(); ++i) ^ user.cpp:34:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( h[r][i] == x ) ^ user.cpp: In function ‘int main()’: user.cpp:89:47: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 2 has type ‘unsigned int*’ [-Wformat=] for(i = 1; i <= N; ++i) scanf("%llu",&v[i]); ^ user.cpp:82:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.in","r",stdin); ^ user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.out","w",stdout); ^ user.cpp:88:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&N,&L,&U); ^ user.cpp:89:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= N; ++i) scanf("%llu",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3748kbOK10
28ms3828kbOK10
324ms4088kbOK10
484ms5320kbOK10
580ms5232kbOK10
6368ms9276kbOK10
7824ms14208kbOK10
8968ms15572kbOK10
91536ms22452kbOK10
101648ms23068kbOK10
Punctaj total100

Ceva nu functioneaza?