Borderou de evaluare (job #1055977)

Utilizator omerOmer Cerrahoglu omer Data 14 decembrie 2013 12:18:26
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 ‘int’ [-Wformat=] fscanf(f,"%d\n",t); ^ user.cpp:38:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fscanf(f,"%d%d\n",n,k); ^ user.cpp:38:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:35:23: warning: ‘t’ is used uninitialized in this function [-Wuninitialized] fscanf(f,"%d\n",t); ^ user.cpp:38:31: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(f,"%d%d\n",n,k); ^ user.cpp:38:31: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms4256kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?