Borderou de evaluare (job #1305547)

Utilizator atatomirTatomir Alex atatomir Data 29 decembrie 2014 21:11:28
Problema Albinuta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:87:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;Que[i].first<=lC&&i<Que.size();i++){ ^ user.cpp:95:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;i<Que.size();i++){ ^ user.cpp:103:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<Quee.size();i++){ ^ user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("albinuta.in","r",stdin); ^ user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("albinuta.out","w",stdout); ^ user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&q); ^ user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&k); list[i].resize(k); ^ user.cpp:58:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(j=1;j<k;j++) scanf("%ld",&list[i][j]); ^ user.cpp:59:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&list[i][0]); ^ user.cpp:64:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&Que[i].first); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbRaspuns gresit0
20ms448kbRaspuns gresit0
30ms452kbOK5
40ms452kbOK5
50ms448kbRaspuns gresit0
60ms448kbRaspuns gresit0
70ms452kbRaspuns gresit0
80ms448kbRaspuns gresit0
94ms452kbRaspuns gresit0
100ms452kbOK10
118ms448kbRaspuns gresit0
1212ms448kbRaspuns gresit0
134ms444kbRaspuns gresit0
1412ms452kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?