Borderou de evaluare (job #1587078)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 1 februarie 2016 19:53:21
Problema Secvbest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", dp[i][n]); ^ user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvbest.in", "r", stdin); ^ user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvbest.out", "w", stdout); ^ user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &k, &s); ^ user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms416kbIncorect0
316ms2880kbIncorect0
428ms5328kbIncorect0
544ms7800kbIncorect0
6112msDepăşitMemory limit exceeded.0
7116msDepăşitMemory limit exceeded.0
8148msDepăşitMemory limit exceeded.0
9148msDepăşitMemory limit exceeded.0
10148msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?