Borderou de evaluare (job #1987575)

Utilizator giotoPopescu Ioan gioto Data 31 mai 2017 09:52:55
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:11:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d", &n, &k, &S); ^ user.cpp:9: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:10: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:11:32: 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:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbIncorect0
20ms528kbOK10
348ms2892kbIncorect0
496ms5508kbIncorect0
5148ms8124kbIncorect0
628msDepăşitMemory limit exceeded.0
728msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?