Borderou de evaluare (job #3319840)

Utilizator DariuzzHackerPrime Dariuzz Data 3 noiembrie 2025 14:31:29
Problema Triang Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool triang(std::vector<std::pair<double, double> >&, int, int, double, double)': main.cpp:20:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 20 | }else if(egal(c1,aux.first) && c2 > aux.second || c1 > aux.first ){ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:43:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 43 | if(triang(v,j,n,x3,y3)) | ^~ main.cpp:45:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 45 | x3 = v[i].first + c1/2 + sqrt(3)/2 *c2 ; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms303kbWrong answer!0
24ms303kbWrong answer!0
33ms303kbWrong answer!0
420ms303kbWrong answer!0
528ms303kbWrong answer!0
634ms303kbWrong answer!0
772ms303kbWrong answer!0
887ms335kbWrong answer!0
9122ms303kbWrong answer!0
100ms303kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?