Borderou de evaluare (job #3277405)
Utilizator | Data | 15 februarie 2025 23:10:41 | |
---|---|---|---|
Problema | Subsecvențe tripare | Status | done |
Runda | arhiva-utcn | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void generare(std::vector<int>&, int, std::vector<int>)':
main.cpp:16:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if (poz==v.size()) {
| ~~~^~~~~~~~~~
main.cpp:19:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for (int i=0;i<=subm.size()-2;i++)
| ~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:11: error: 'g' is not a member of 'std'; did you mean 'g'?
47 | std::g<<ct%666013<<endl;
| ^
main.cpp:9:10: note: 'g' declared here
9 | ifstream g("tripar.out");
| ^
main.cpp:48:18: error: expected unqualified-id before '=' token
48 | vector<int> ={0};
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !