Borderou de evaluare (job #1597126)

Utilizator ZenusTudor Costin Razvan Zenus Data 11 februarie 2016 18:15:03
Problema Descompuneri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d" , &k); ^ user.cpp:39:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n" , nrd(n)); ^ user.cpp:33:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desc.in" , "r" , stdin); ^ user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desc.out" , "w" , stdout); ^ user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld" , &n); ^ user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbDescompunerea e gresita!4
24ms444kbDescompunerea e gresita!4
34ms440kbDescompunerea e gresita!4
4Depăşit400kbTime limit exceeded.0
5Depăşit396kbTime limit exceeded.0
6Depăşit404kbTime limit exceeded.0
7Depăşit404kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9284ms8584kbKilled by signal 11(SIGSEGV).0
10Depăşit396kbTime limit exceeded.0
Punctaj total12

Ceva nu functioneaza?