Borderou de evaluare (job #3319839)

Utilizator DariuzzHackerPrime Dariuzz Data 3 noiembrie 2025 14:28:43
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:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 20 | }else if( 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
34ms303kbWrong answer!0
424ms303kbWrong answer!0
532ms303kbWrong answer!0
639ms303kbWrong answer!0
782ms303kbWrong answer!0
897ms303kbWrong answer!0
9137ms425kbWrong answer!0
101ms380kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?