Borderou de evaluare (job #2930569)

Utilizator LuciBBadea Lucian LuciB Data 28 octombrie 2022 19:23:54
Problema Teleport Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:24: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'long double*' [-Wformat=] 20 | fscanf(fin, "%lf%lf%lf%lf%lf%lf%lld", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y, &radius); | ~~^ ~~~~ | | | | double* long double* | %Lf main.cpp:20:27: warning: format '%lf' expects argument of type 'double*', but argument 4 has type 'long double*' [-Wformat=] 20 | fscanf(fin, "%lf%lf%lf%lf%lf%lf%lld", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y, &radius); | ~~^ ~~~~ | | | | double* long double* | %Lf main.cpp:20:30: warning: format '%lf' expects argument of type 'double*', but argument 5 has type 'long double*' [-Wformat=] 20 | fscanf(fin, "%lf%lf%lf%lf%lf%lf%lld", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y, &radius); | ~~^ ~~~~ | | | | double* long double* | %Lf main.cpp:20:33: warning: format '%lf' expects argument of type 'double*', but argument 6 has type 'long double*' [-Wformat=] 20 | fscanf(fin, "%lf%lf%lf%lf%lf%lf%lld", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y, &radius); | ~~^ ~~~~ | | | | double* long double* | %Lf main.cpp:20:36: warning: format '%lf' expects argument of type 'double*', but argument 7 has type 'long double*' [-Wformat=] 20 | fscanf(fin, "%lf%lf%lf%lf%lf%lf%lld", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y, &radius); | ~~^ ~~~~ | | | | double* long double* | %Lf main.cpp:20:39: warning: format '%lf' expects argument of type 'double*', but argument 8 has type 'long double*' [-Wformat=] 20 | fscanf(fin, "%lf%lf%lf%lf%lf%lf%lld", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y, &radius); | ~~^ ~~~~ | | | | double* long double* | %Lf main.cpp:26:28: warning: format '%lf' expects argument of type 'double', but argument 3 has type 'long double' [-Wformat=] 26 | fprintf(fout, "%.6lf\n", ans / 1000000.0); | ~~~~^ ~~~~~~~~~~~~~~~ | | | | double long double | %.6Lf
Test Timp executie Memorie folosita Mesaj Punctaj/test
1349ms1163kbIncorect0
Punctaj total0

Ceva nu functioneaza?