Borderou de evaluare (job #3368854)
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 |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 1ms | 802kb | Incorect | 0 |
| 4 | 4ms | 1466kb | Incorect | 0 |
| 5 | 14ms | 4673kb | Incorect | 0 |
| 6 | 18ms | 4984kb | Memory limit exceeded | 0 |
| 7 | 14ms | 4751kb | Memory limit exceeded | 0 |
| 8 | 13ms | 4767kb | Memory limit exceeded | 0 |
| 9 | 14ms | 4771kb | Memory limit exceeded | 0 |
| 10 | 17ms | 5058kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |