Borderou de evaluare (job #2356901)

Utilizator BogdanAlexandruBogdan-Alexandru Dig BogdanAlexandru Data 26 februarie 2019 23:09:36
Problema Mosia Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Read()': main.cpp:21:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'double*' [-Wformat=] fscanf(f,"%d %d",&P[i].x,&P[i].y); ^ main.cpp:21:41: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'double*' [-Wformat=] main.cpp: In function 'double Det(int, int, int)': main.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'void Solve()': main.cpp:35:28: error: 'det' was not declared in this scope Arie+=det(i,i-1,i-2); ^ main.cpp: In function 'void Read()': main.cpp:21:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&P[i].x,&P[i].y); ^ Non zero exit status: 1

Ceva nu functioneaza?