Borderou de evaluare (job #3368858)
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 |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 1ms | 819kb | Incorect | 0 |
| 4 | 4ms | 2510kb | Incorect | 0 |
| 5 | 14ms | 4567kb | Incorect | 0 |
| 6 | 14ms | 4833kb | Memory limit exceeded | 0 |
| 7 | 13ms | 5033kb | Memory limit exceeded | 0 |
| 8 | 14ms | 5029kb | Memory limit exceeded | 0 |
| 9 | 14ms | 5066kb | Memory limit exceeded | 0 |
| 10 | 13ms | 4743kb | Memory limit exceeded | 0 |
| Punctaj total | 10 |