Borderou de evaluare (job #1332548)

Utilizator BlueStrutAndrei Prahoveanu BlueStrut Data 2 februarie 2015 10:14:16
Problema Secvmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvmax.in","r",stdin); ^ user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvmax.out","w",stdout); ^ user.cpp:7:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:8: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", &a[i]); ^ user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); crt=0; mx=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms248kbOK1010
24ms248kbOK1010
34ms252kbOK1010
4Depăşit288kbTime limit exceeded.00
5Depăşit404kbTime limit exceeded.00
6Depăşit476kbTime limit exceeded.0
7Depăşit552kbTime limit exceeded.00
8Depăşit600kbTime limit exceeded.00
9Depăşit632kbTime limit exceeded.0
10Depăşit632kbTime limit exceeded.00
Punctaj total30

Ceva nu functioneaza?