Borderou de evaluare (job #2009939)

Utilizator vic2002Melinceanu Victor vic2002 Data 11 august 2017 12:34:41
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:23: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fscanf(fr,"%i %i",n,m); ^ user.cpp:31:23: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:32:35: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] for(i=1;i<=n;i++)fscanf(fr,"%i",x),upd(i,x); ^ user.cpp:31:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fr,"%i %i",n,m); ^ user.cpp:32:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++)fscanf(fr,"%i",x),upd(i,x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms384kbKilled by signal 11(SIGSEGV).0
20ms388kbKilled by signal 11(SIGSEGV).0
30ms384kbKilled by signal 11(SIGSEGV).0
40ms384kbKilled by signal 11(SIGSEGV).0
50ms384kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?