Borderou de evaluare (job #1056682)

Utilizator omerOmer Cerrahoglu omer Data 14 decembrie 2013 13:26:32
Problema Progresie Status done
Runda ONIS 2014, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fscanf(f,"%d\n",t); ^ user.cpp:42:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fscanf(f,"%d%d\n",n,r); ^ user.cpp:42:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp: In function ‘int rezultat(int, int)’: user.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:39:23: warning: ‘t’ is used uninitialized in this function [-Wuninitialized] fscanf(f,"%d\n",t); ^ user.cpp:42:31: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(f,"%d%d\n",n,r); ^ user.cpp:42:31: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms348kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?