Borderou de evaluare (job #1847164)
Utilizator | Data | 14 ianuarie 2017 12:56:12 | |
---|---|---|---|
Problema | Maxd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: ‘vetor’ does not name a type
vetor<int> pr;
^
user.cpp: In function ‘int main()’:
user.cpp:19:13: error: ‘pr’ was not declared in this scope
pr.push_back(p[i]);
^
user.cpp:30:23: error: ‘pr’ was not declared in this scope
for(int i=0;i<pr.size() && pr[i]*pr[i]<=nrn;++i){
^
user.cpp:12:17: warning: unused variable ‘pt’ [-Wunused-variable]
{int m, n, nrn, pt, OK=1, cnrn;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !