Borderou de evaluare (job #1305541)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:83:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;Que[i]<=lC&&i<Que.size();i++){ ^ user.cpp:91:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;i<Que.size();i++){ ^ user.cpp:99:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<Quee.size();i++){ ^ user.cpp:50: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:51: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:53: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:55: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:57: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:58: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:62:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=0;i<q;i++) scanf("%ld",&Que[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbRaspuns gresit0
20ms444kbRaspuns gresit0
30ms444kbOK5
40ms444kbOK5
50ms440kbRaspuns gresit0
60ms444kbRaspuns gresit0
70ms448kbRaspuns gresit0
80ms440kbRaspuns gresit0
94ms444kbRaspuns gresit0
100ms448kbRaspuns gresit0
118ms444kbRaspuns gresit0
1212ms444kbRaspuns gresit0
134ms444kbRaspuns gresit0
1412ms444kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?