Borderou de evaluare (job #3164246)

Utilizator ShadowZoidPorojan Victor-Andrei ShadowZoid Data 2 noiembrie 2023 15:11:45
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long long int determ(const nod&, const nod&, const nod&)': main.cpp:18:24: error: invalid type argument of unary '*' (have 'int') 18 | return ((long long)*(b.x-a.x))*(c.y-a.y)-((long long)*(c.x-a.x)*(b.y-a.y)); | ^~~~~~~~~~ main.cpp:18:58: error: invalid type argument of unary '*' (have 'int') 18 | return ((long long)*(b.x-a.x))*(c.y-a.y)-((long long)*(c.x-a.x)*(b.y-a.y)); | ^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:88:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | for(j=0;j<u.size();j++) | ~^~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?