Borderou de evaluare (job #1235888)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 30 septembrie 2014 20:57:24
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:32:34: warning: unused variable ‘st’ [-Wunused-variable] int Min = INF, poz = -1, st = 1, dr = 1; ^ user.cpp:32:42: warning: unused variable ‘dr’ [-Wunused-variable] int Min = INF, poz = -1, st = 1, dr = 1; ^ user.cpp:53:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", Dp[n][i]); ^ user.cpp:20: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:21: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:22:34: 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:24:27: 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
10ms312kbOK10
20ms588kbIncorect0
348ms3332kbIncorect0
4132ms6384kbIncorect0
5216ms9428kbIncorect0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?