Borderou de evaluare (job #1587083)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 1 februarie 2016 19:55:56
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:23:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[i]); ^ 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
10ms292kbOK10
20ms408kbIncorect0
316ms2932kbIncorect0
428ms5480kbIncorect0
544ms8008kbIncorect0
6124msDepăşitMemory limit exceeded.0
7124msDepăşitMemory limit exceeded.0
8148msDepăşitMemory limit exceeded.0
9148msDepăşitMemory limit exceeded.0
10148msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?