Borderou de evaluare (job #3368857)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:23: warning: narrowing conversion of 'std::sqrt<int>((((x[1] - x[i]) * (x[1] - x[i])) + ((y[1] - y[i]) * (y[1] - y[i]))))' from '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} to 'float' [-Wnarrowing]
36 | q.push({i,sqrt((x[1]-x[i])*(x[1]-x[i])+(y[1]-y[i])*(y[1]-y[i]))});
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:59:31: warning: narrowing conversion of 'std::sqrt<int>((((x[nod] - x[i]) * (x[nod] - x[i])) + ((y[nod] - y[i]) * (y[nod] - y[i]))))' from '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} to 'float' [-Wnarrowing]
59 | q.push({i,sqrt((x[nod]-x[i])*(x[nod]-x[i])+(y[nod]-y[i])*(y[nod]-y[i]))});
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 1ms | 819kb | Incorect | 0 |
| 4 | 7ms | 2506kb | Incorect | 0 |
| 5 | 12ms | 4743kb | Memory limit exceeded | 0 |
| 6 | 14ms | 4845kb | Memory limit exceeded | 0 |
| 7 | 13ms | 4984kb | Memory limit exceeded | 0 |
| 8 | 14ms | 4898kb | Memory limit exceeded | 0 |
| 9 | 13ms | 5074kb | Memory limit exceeded | 0 |
| 10 | 13ms | 4866kb | Memory limit exceeded | 0 |
| Punctaj total | 10 |