Borderou de evaluare (job #1196083)

Utilizator tudormaximTudor Maxim tudormaxim Data 8 iunie 2014 12:17:58
Problema Sliding Window Status done
Runda Algoritmiada 2014 - Runda 3, Clasele 9-10 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld%ld",&n,&d); ^ user.cpp:13:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:15:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:25:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",sol); ^ user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("slidingwindow.in","r",stdin); ^ user.cpp:12:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("slidingwindow.out","w",stdout); ^ user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&d); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✗10ms3372kbOK5
✓20ms3380kbOK5
✗30ms3380kbOK5
✗4436msDepăşitMemory limit exceeded.0
✗5396msDepăşitMemory limit exceeded.0
✗6396msDepăşitMemory limit exceeded.0
✗7396msDepăşitMemory limit exceeded.0
✗8436msDepăşitMemory limit exceeded.0
✗9400msDepăşitMemory limit exceeded.0
✗10396msDepăşitMemory limit exceeded.0
✓11396msDepăşitMemory limit exceeded.0
✗12396msDepăşitMemory limit exceeded.0
✗13396msDepăşitMemory limit exceeded.0
✗14396msDepăşitMemory limit exceeded.0
✗15396msDepăşitMemory limit exceeded.0
✗16396msDepăşitMemory limit exceeded.0
✗17396msDepăşitMemory limit exceeded.0
✗18396msDepăşitMemory limit exceeded.0
✗190ms3368kbOK5
✗20436msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?