Borderou de evaluare (job #1305520)

Utilizator atatomirTatomir Alex atatomir Data 29 decembrie 2014 20:46:41
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: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
10ms436kbRaspuns gresit0
20ms432kbRaspuns gresit0
30ms436kbOK5
40ms432kbOK5
50ms440kbRaspuns gresit0
60ms440kbRaspuns gresit0
70ms440kbRaspuns gresit0
80ms436kbRaspuns gresit0
94ms436kbRaspuns gresit0
100ms436kbRaspuns gresit0
118ms440kbRaspuns gresit0
1212ms440kbRaspuns gresit0
134ms436kbRaspuns gresit0
1412ms436kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?