Borderou de evaluare (job #3176941)
Utilizator | Data | 28 noiembrie 2023 09:33:39 | |
---|---|---|---|
Problema | Zmeu2 | 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:51:35: warning: narrowing conversion of 'i' from 'int' to 'short int' [-Wnarrowing]
51 | v[i][j]= {c,h,i};
| ^
main.cpp:5:13: error: narrowing conversion of '1.0e+9' from 'double' to 'int' [-Wnarrowing]
5 | #define INF 1e9
| ^~~
main.cpp:53:16: note: in expansion of macro 'INF'
53 | v[1][p] = {INF,INF,INF},v[p][1]={INF,INF,INF};
| ^~~
main.cpp:5:13: error: narrowing conversion of '1.0e+9' from 'double' to 'int' [-Wnarrowing]
5 | #define INF 1e9
| ^~~
main.cpp:53:38: note: in expansion of macro 'INF'
53 | v[1][p] = {INF,INF,INF},v[p][1]={INF,INF,INF};
| ^~~
main.cpp:5:13: error: narrowing conversion of '1.0e+9' from 'double' to 'int' [-Wnarrowing]
5 | #define INF 1e9
| ^~~
main.cpp:58:18: note: in expansion of macro 'INF'
58 | v[x][y]={INF,INF,INF};
| ^~~
main.cpp:75:37: warning: narrowing conversion of 'i' from 'int' to 'short int' [-Wnarrowing]
75 | q.push({d[i][rh],rh,i});
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !