Borderou de evaluare (job #3234924)
Utilizator | Data | 12 iunie 2024 18:28:35 | |
---|---|---|---|
Problema | Harta3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:164:9: warning: "/*" within comment [-Wcomment]
164 | /*for(int j = 0; j < C.size(); j++){
|
main.cpp: In function 'void dfsA(int)':
main.cpp:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfsB(int)':
main.cpp:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:87:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for(int j = 0; j < C.size(); j++){
| ~~^~~~~~~~~~
main.cpp:140:8: error: 'care' was not declared in this scope
140 | if(care == 'A'){
| ^~~~
main.cpp:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
141 | for(int i = 0; i < A.size(); i++){
| ~~^~~~~~~~~~
main.cpp:142:27: error: 'len' was not declared in this scope
142 | A[i].first += len;
| ^~~
main.cpp:146:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
146 | for(int i = 0; i < B.size(); i++){
| ~~^~~~~~~~~~
main.cpp:147:27: error: 'len' was not declared in this scope
147 | B[i].first += len;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !