Borderou de evaluare (job #3272883)
Utilizator | Data | 31 ianuarie 2025 12:23:31 | |
---|---|---|---|
Problema | Becuri | 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:125:42: warning: narrowing conversion of 'lin_schimbate[1].std::vector<int>::size()' from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
125 | int nrl[3]={-1, lin_schimbate[1].size(), lin_schimbate[2].size()}, nrc[3]={-1, col_schimbate[1].size(), col_schimbate[2].size()};
| ~~~~~~~~~~~~~~~~~~~~~^~
main.cpp:125:67: warning: narrowing conversion of 'lin_schimbate[2].std::vector<int>::size()' from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
125 | int nrl[3]={-1, lin_schimbate[1].size(), lin_schimbate[2].size()}, nrc[3]={-1, col_schimbate[1].size(), col_schimbate[2].size()};
| ~~~~~~~~~~~~~~~~~~~~~^~
main.cpp:125:105: warning: narrowing conversion of 'col_schimbate[1].std::vector<int>::size()' from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
125 | int nrl[3]={-1, lin_schimbate[1].size(), lin_schimbate[2].size()}, nrc[3]={-1, col_schimbate[1].size(), col_schimbate[2].size()};
| ~~~~~~~~~~~~~~~~~~~~~^~
main.cpp:125:130: warning: narrowing conversion of 'col_schimbate[2].std::vector<int>::size()' from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
125 | int nrl[3]={-1, lin_schimbate[1].size(), lin_schimbate[2].size()}, nrc[3]={-1, col_schimbate[1].size(), col_schimbate[2].size()};
| ~~~~~~~~~~~~~~~~~~~~~^~
main.cpp:143:28: error: 'nr' was not declared in this scope; did you mean 'nrc'?
143 | for(int i=0; i<nr)
| ^~
| nrc
main.cpp:143:30: error: expected ';' before ')' token
143 | for(int i=0; i<nr)
| ^
| ;
main.cpp:144:9: error: expected primary-expression before '}' token
144 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !