Borderou de evaluare (job #1056028)

Utilizator omerOmer Cerrahoglu omer Data 14 decembrie 2013 12:23:50
Problema Cabana Status done
Runda ONIS 2014, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int’ [-Wformat=] fscanf(f,"%d\n",t); ^ user.cpp:38:34: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long long int’ [-Wformat=] fscanf(f,"%lld%lld\n",n,k); ^ user.cpp:38:34: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:39:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%lld\n",rezultat(n,k,a)); ^ user.cpp:35:23: warning: ‘t’ is used uninitialized in this function [-Wuninitialized] fscanf(f,"%d\n",t); ^ user.cpp:38:35: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(f,"%lld%lld\n",n,k); ^ user.cpp:38:35: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms8176kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?