Borderou de evaluare (job #2252318)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 2 octombrie 2018 18:27:09
Problema Traseu3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d%d%d%d%d%d%d%d",&N,&M,&s.X,&s.Y,&s.Z,&f.X,&f.Y,&f.Z); ^ user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘short int*’ [-Wformat=] user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d%d%d",&aux.X,&aux.Y,&aux.Z); ^ user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:69:70: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d%d%d%d%d%d%d",&N,&M,&s.X,&s.Y,&s.Z,&f.X,&f.Y,&f.Z); ^ user.cpp:77:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d%d",&aux.X,&aux.Y,&aux.Z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5424kbSolutie incorecta!2
2252ms7508kbSolutie incorecta!2
34ms5424kbSolutie incorecta!2
40ms5424kbSolutie incorecta!2
54ms5424kbSolutie incorecta!2
68ms5420kbSolutie incorecta!2
720ms5428kbSolutie incorecta!2
844ms7480kbSolutie incorecta!2
992ms7500kbSolutie incorecta!2
10244ms7524kbSolutie incorecta!2
11248ms7524kbSolutie incorecta!2
1264ms7492kbSolutie incorecta!2
13136ms7496kbSolutie incorecta!2
1484ms7488kbSolutie incorecta!2
15184ms7536kbSolutie incorecta!2
16264ms7524kbSolutie incorecta!2
17252ms7508kbSolutie incorecta!2
18252ms7512kbSolutie incorecta!2
19228ms7516kbSolutie incorecta!2
20224ms7508kbSolutie incorecta!2
Punctaj total40

Ceva nu functioneaza?