Borderou de evaluare (job #3368858)

Utilizator CheeseEaterHackRoman Alex CheeseEaterHack Data 16 octombrie 2026 11:38:16
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:25: warning: narrowing conversion of 'std::sqrt<int>((((x[j] - x[1]) * (x[j] - x[1])) + ((y[j] - y[1]) * (y[j] - y[1]))))' from '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} to 'float' [-Wnarrowing] 31 | pq.push({j, sqrt((x[j]-x[1])*(x[j]-x[1])+(y[j]-y[1])*(y[j]-y[1]))}); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:52:33: warning: narrowing conversion of 'std::sqrt<int>((((x[j] - x[nod]) * (x[j] - x[nod])) + ((y[j] - y[nod]) * (y[j] - y[nod]))))' from '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} to 'float' [-Wnarrowing] 52 | pq.push({j, sqrt((x[j]-x[nod])*(x[j]-x[nod])+(y[j]-y[nod])*(y[j]-y[nod]))}); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbIncorect0
31ms819kbIncorect0
44ms2510kbIncorect0
514ms4567kbIncorect0
614ms4833kbMemory limit exceeded0
713ms5033kbMemory limit exceeded0
814ms5029kbMemory limit exceeded0
914ms5066kbMemory limit exceeded0
1013ms4743kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?