Borderou de evaluare (job #2877264)
Utilizator | Data | 24 martie 2022 14:31:35 | |
---|---|---|---|
Problema | Cumpanit | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: 'vector' does not name a type
10 | vector<short>p,v;
| ^~~~~~
main.cpp:11:1: error: 'vector' does not name a type
11 | vector<long long>ans;
| ^~~~~~
main.cpp: In function 'void prime()':
main.cpp:27:13: error: 'p' was not declared in this scope
27 | p.push_back(i);
| ^
main.cpp: In function 'void bk2(int)':
main.cpp:59:16: error: 'v' was not declared in this scope
59 | if( dg2 == v.size() - 1)
| ^
main.cpp:70:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
70 | ans.push_back(cnr);
| ^~~
| abs
main.cpp:77:21: error: 'v' was not declared in this scope
77 | cnr*=lg_put(v[dg2],i);
| ^
main.cpp: In function 'void bk(int)':
main.cpp:101:17: error: 'v' was not declared in this scope
101 | v.push_back(p[i]);
| ^
main.cpp:101:29: error: 'p' was not declared in this scope
101 | v.push_back(p[i]);
| ^
main.cpp:105:12: error: 'v' was not declared in this scope
105 | if(v.size())
| ^
main.cpp:107:9: error: 'v' was not declared in this scope
107 | v.clear();
| ^
main.cpp:113:8: error: 'p' was not declared in this scope
113 | s+=p[dg];
| ^
main.cpp: In function 'int main()':
main.cpp:126:10: error: 'ans' was not declared in this scope; did you mean 'abs'?
126 | sort(ans.begin(),ans.end());
| ^~~
| abs
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !