Borderou de evaluare (job #1617960)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 27 februarie 2016 17:19:22
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
1140ms2856kbOK5
2172ms3652kbOK5
3156msDepăşitMemory limit exceeded.0
460ms928kbOK5
5128ms3240kbOK5
6120ms6504kbOK5
7104ms6576kbOK5
868ms2928kbOK5
972ms2424kbOK5
1016msDepăşitMemory limit exceeded.0
1112msDepăşitMemory limit exceeded.0
1216msDepăşitMemory limit exceeded.0
1316msDepăşitMemory limit exceeded.0
1416msDepăşitMemory limit exceeded.0
1516msDepăşitMemory limit exceeded.0
1616msDepăşitMemory limit exceeded.0
1716msDepăşitMemory limit exceeded.0
1816msDepăşitMemory limit exceeded.0
1916msDepăşitMemory limit exceeded.0
2016msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?