Borderou de evaluare (job #2543685)
Utilizator | Data | 11 februarie 2020 13:41:47 | |
---|---|---|---|
Problema | Ubuntzei | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:61:28: error: cannot convert 'll* {aka long long int*}' to 'int*' for argument '2' to 'void dijk(int, int*)'
dijk(vec[i],dist[i]);
^
main.cpp:62:19: error: cannot convert 'll* {aka long long int*}' to 'int*' for argument '2' to 'void dijk(int, int*)'
dijk(1,dist[k]);
^
main.cpp:47:9: warning: unused variable 't' [-Wunused-variable]
int t,i,j;
^
main.cpp:47:13: warning: unused variable 'j' [-Wunused-variable]
int t,i,j;
^
main.cpp: In function 'void dijk(int, int*)':
main.cpp:86:15: warning: overflow in implicit constant conversion [-Woverflow]
dp[i]=1e18;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !