Borderou de evaluare (job #1142803)
Utilizator | Data | 14 martie 2014 11:29:03 | |
---|---|---|---|
Problema | Secvdist | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:8: error: ‘n’ was not declared in this scope
f>>n>>k>>v[1];
^
user.cpp:7:11: error: ‘k’ was not declared in this scope
f>>n>>k>>v[1];
^
user.cpp:7:14: error: ‘v’ was not declared in this scope
f>>n>>k>>v[1];
^
user.cpp:8:5: error: ‘Min’ was not declared in this scope
Min[1]=1;
^
user.cpp:9:5: error: ‘Max’ was not declared in this scope
Max[1]=1;
^
user.cpp:10:5: error: ‘pmax’ was not declared in this scope
pmax=1;umax=1;
^
user.cpp:10:12: error: ‘umax’ was not declared in this scope
pmax=1;umax=1;
^
user.cpp:11:5: error: ‘pmin’ was not declared in this scope
pmin=1;umin=1;
^
user.cpp:11:12: error: ‘umin’ was not declared in this scope
pmin=1;umin=1;
^
user.cpp:12:9: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++){
^
user.cpp:15:26: error: ‘u’ was not declared in this scope
while(v[i]<v[Min[u]]&&pmin<=umin)
^
user.cpp:19:26: error: ‘u’ was not declared in this scope
while(v[i]>v[Max[u]&&pmax<=umax)
^
user.cpp:19:40: error: expected ‘]’ before ‘)’ token
while(v[i]>v[Max[u]&&pmax<=umax)
^
user.cpp:22:12: error: expected primary-expression before ‘)’ token
if()
^
user.cpp:23:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp:23:5: error: expected ‘;’ before ‘}’ token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !