Borderou de evaluare (job #3368854)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30: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 'int' [-Wnarrowing] 30 | pq.push({j, sqrt((x[j]-x[1])*(x[j]-x[1])+(y[j]-y[1])*(y[j]-y[1]))}); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:51: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 'int' [-Wnarrowing] 51 | 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
10ms303kbIncorect0
20ms303kbIncorect0
31ms802kbIncorect0
44ms1466kbIncorect0
514ms4673kbIncorect0
618ms4984kbMemory limit exceeded0
714ms4751kbMemory limit exceeded0
813ms4767kbMemory limit exceeded0
914ms4771kbMemory limit exceeded0
1017ms5058kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?