Borderou de evaluare (job #1305523)

Utilizator atatomirTatomir Alex atatomir Data 29 decembrie 2014 20:54:00
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:97:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;i<Que.size();i++){ ^ user.cpp:105: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
20ms448kbRaspuns gresit0
30ms448kbOK5
40ms448kbOK5
50ms444kbRaspuns gresit0
60ms444kbRaspuns gresit0
70ms444kbRaspuns gresit0
80ms448kbRaspuns gresit0
94ms440kbRaspuns gresit0
104ms444kbRaspuns gresit0
1112ms448kbRaspuns gresit0
1216ms444kbRaspuns gresit0
134ms440kbRaspuns gresit0
1416ms444kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?