Borderou de evaluare (job #2002492)
Utilizator | Data | 20 iulie 2017 01:37:47 | |
---|---|---|---|
Problema | Long Story Short | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: ‘ll’ does not name a type
ll v[DM],k,p,resp,numb;
^
user.cpp: In function ‘int get_one()’:
user.cpp:10:20: error: ‘p’ was not declared in this scope
for(int i=1;i<=p;++i) if(v[i]==1)
^
user.cpp:10:30: error: ‘v’ was not declared in this scope
for(int i=1;i<=p;++i) if(v[i]==1)
^
user.cpp: In function ‘void clean(int)’:
user.cpp:16:24: error: ‘p’ was not declared in this scope
for(int i=ind+1;i<=p;++i)
^
user.cpp:17:9: error: ‘v’ was not declared in this scope
v[i] = v[i]-(v[i]!=0);
^
user.cpp: In function ‘int main()’:
user.cpp:22:10: error: ‘k’ was not declared in this scope
fin>>k>>p;
^
user.cpp:22:13: error: ‘p’ was not declared in this scope
fin>>k>>p;
^
user.cpp:24:14: error: ‘v’ was not declared in this scope
fin>>v[i];
^
user.cpp:28:5: error: ‘numb’ was not declared in this scope
numb = p;
^
user.cpp:33:13: error: ‘resp’ was not declared in this scope
resp+=v[1];
^
user.cpp:33:19: error: ‘v’ was not declared in this scope
resp+=v[1];
^
user.cpp:38:13: error: ‘resp’ was not declared in this scope
resp+=1;
^
user.cpp:39:13: error: ‘v’ was not declared in this scope
v[ind]=0;
^
user.cpp:43:11: error: ‘resp’ was not declared in this scope
fout<<resp;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !