Borderou de evaluare (job #1617943)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 27 februarie 2016 17:15:50
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in","r",stdin); ^ user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.out","w",stdout); ^ user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:16:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) { scanf("%d",&x[i]); if(x[i]>mx) mx=x[i]; } ^ user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q); ^ user.cpp:27:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&p1,&p2,&n1,&n2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1140ms2864kbOK5
2168ms3660kbOK5
3152msDepăşitMemory limit exceeded.0
460ms940kbOK5
5128ms3248kbOK5
6124ms6512kbOK5
7104ms6580kbOK5
868ms2936kbOK5
972ms2428kbOK5
1024msDepăşitMemory limit exceeded.0
1112msDepăşitMemory limit exceeded.0
1220msDepăşitMemory limit exceeded.0
1328msDepăşitMemory limit exceeded.0
1428msDepăşitMemory limit exceeded.0
1528msDepăşitMemory limit exceeded.0
1628msDepăşitMemory limit exceeded.0
1728msDepăşitMemory limit exceeded.0
1828msDepăşitMemory limit exceeded.0
1928msDepăşitMemory limit exceeded.0
2028msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?