Borderou de evaluare (job #2882310)
Utilizator | Data | 31 martie 2022 12:02:14 | |
---|---|---|---|
Problema | Qvect | Status | done |
Runda | simulare_oni_9_2 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:10: error: conflicting declaration 'std::ifstream fin'
4 | ifstream fin("qvect.in");
| ^~~
main.cpp:3:7: note: previous declaration as 'FILE* fin'
3 | FILE *fin, *fout;
| ^~~
main.cpp:5:10: error: conflicting declaration 'std::ofstream fout'
5 | ofstream fout("qvect.out");
| ^~~~
main.cpp:3:13: note: previous declaration as 'FILE* fout'
3 | FILE *fin, *fout;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:44:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int j = 0; j < v[i].size(); j++)
| ~~^~~~~~~~~~~~~
main.cpp:47:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int k = 0; k < v[j].size(); k++)
| ~~^~~~~~~~~~~~~
main.cpp:67:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for(int j = 0; j < v[y].size(); j++) {
| ~~^~~~~~~~~~~~~
main.cpp:68:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | while(poz < v[x].size() && v[x][poz] < v[y][j])
| ~~~~^~~~~~~~~~~~~
main.cpp:72:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | if(poz < v[x].size())
| ~~~~^~~~~~~~~~~~~
main.cpp:74:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | if(poz + 1 < v[x].size())
| ~~~~~~~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !